Iron Router - examine incoming route (catch all)



Is there a way for iron router to examine the incoming router and route based on a db match?

For instance grabbing the destination test1234 from, and then doing a db lookup with the pertinent information.

Basically I know you can grab query/hash fragments and do a look-up. Is it possible to grab the beginning part of the url and do a lookup on that?