Let's say I have an sqlalchemy.Table object t (bound to MetaData bound to an engine with an open connection) with a composite primary key defined (so t.primary_key() returns an object of type PrimaryKeyConstraint), and I also have a tuple that represents a specific value of that primary key. What is the tersest code (briefest + most elegant) to perform a lookup for a row identified by that key, which will return at most one object, or None if no such row exists?
Thanks, Keith -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.