Michael Bayer wrote:
I attended to the issues of "select_by" and "select_by_col_name"
tonight, as more people made the same comment that it was needed. As
it turns out, I implemented the method with an extra twist which makes
it better than anticipated.....
Now heres the twist. The key names you send to select_by and get_by
are searched for in the property names assigned to the mapper, as well
as the column names within the underlying Table object or objects. But
if the key is not found in either, its going to search in the
properties and columns of all the immediate relationships of the
mapper, and if found generate the appropriate joins:
That's fantastic, great stuff!
Robert
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users