[SQLObject] Get Join instance for attribute
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <to...@ce...> - 2013-09-17 18:37:03
|
To work with foo = RelatedJoin('Song') we use .foo, .addSong and .removeSong. But those names are configurable. How do I get them when all I know is "foo"? One way seems to be sqlmeta.joins[0].performJoin, .add and .remove. Is that an internal API, and subject to change? How do I get the list index? |