Oleg Broytmann <phd <at> phd.pp.ru> writes:
>    Thank you very much! Now if I only can formulate a short description for
> it. ".j attribute on SO classes" is not very informative.
>    "New magic attribute 'j' similar to 'q' that automagically does join
> with the other table in FK/MultipleJoin"?

Yeah, that's pretty good. Specifically, it has attributes for joins and
foreignKeys that expand to the SQLBuilder expression to perform the join.

"New magic attribute 'j' similar to 'q' with attributes for ForeignKey and
SQLMultipleJoin/SQLRelatedJoin, providing a shorthand for the SQLBuilder join
expressions to traverse the given relationship. For example, for a ForeignKey
AClass.j.someB is equivalent to (AClass.q.someBID==BClass.q.id), as is
BClass.j.someAs for the matching SQLMultipleJoin."

Not sure that's much clearer than your start though. I leave it in your hands.

- Luke


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to