[storm] How do I determine what columns a Reference joins?
Jason Baker
jbaker at zeomega.com
Mon Aug 31 19:40:22 BST 2009
How do I determine what columns are joined by a reference? For example:
class A:
...
a_id = Integer(primary=True)
class B:
...
a_id = Integer()
A = Reference('a_id', A.a_id)
Given these classes, how can I programmatically determine that B.A
links B.a_id and A.a_id? It looks like most of the attributes I could
use for this are underscored (like Reference's _local_key and
_remote_key)
More information about the storm
mailing list