Re: [Sqlalchemy-tickets] [sqlalchemy] #627: Auto-Joins, Partial Selects and ORMs
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2007-06-28 15:39:48
|
IzYyNzogQXV0by1Kb2lucywgUGFydGlhbCBTZWxlY3RzIGFuZCBPUk1zDQotLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tDQogICAgUmVwb3J0ZXI6ICBndWVzdCAgICAgICAgICAgIHwgICAgICAgT3duZXI6ICB6 enplZWsgICAgICAgICAgICAgICAgDQogICAgICAgIFR5cGU6ICBlbmhhbmNlbWVudCAgICAgIHwg ICAgICBTdGF0dXM6ICBuZXcgICAgICAgICAgICAgICAgICAgDQogICAgUHJpb3JpdHk6ICBtZWRp dW0gICAgICAgICAgIHwgICBNaWxlc3RvbmU6ICAgICAgICAgICAgICAgICAgICAgICAgDQogICBD b21wb25lbnQ6ICAobm9uZSkgICAgICAgICAgIHwgICAgU2V2ZXJpdHk6ICBubyB0cmlhZ2Ugc2Vs ZWN0ZWQgeWV0DQogIFJlc29sdXRpb246ICAgICAgICAgICAgICAgICAgIHwgICAgS2V5d29yZHM6 ICBqb2luIHNlbGVjdCBvcm0gICAgICAgDQpTdGF0dXNfZmllbGQ6ICBhd2FpdGluZyB0cmlhZ2Ug IHwgIA0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KQ29tbWVudCAoYnkgenp6ZWVrKToNCg0KIHRoaXMg dGlja2V0IG1pZ2h0IGJlIG1vcmUgYXBwcm9wcmlhdGUgdG8gZGlzY3VzcyBvbiB0aGUgbWFpbGlu ZyBsaXN0LA0KIHNpbmNlIG90aGVyIHVzZXJzIG1pZ2h0IGhhdmUgb3BpbmlvbnMgb24gaXQgYW5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