On May 24, 2007, at 12:33 PM, Eric Ongerth wrote:
> Have there been previous requests for table -> mapper registry? I am > wondering if the fact that I'm looking for that functionality > indicates a need to deepen my understanding of fundamental concepts of > ORM. > i recall there being one other request for this. ill observe that the requests for "how do i find the X object given the Y object" correspond to applications that are dealing with tables/classes anonymously, like people building generic GUIs for traversing a data model. the more common usage is where tables/classes etc. are dealt with in a non-anonymous fashion (i.e. im the OrderController, so i know to deal wtih Order objects and the "orders" table) so thats probably why. note that the "sqlalchemy" package (where Table is) has no dependencies on the "sqlalchemy.orm" package (where Mapper is). this relationship will be more explicitly stated in 0.4. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
