On Sun, Oct 5, 2008 at 8:56 AM, Michael Bayer [EMAIL PROTECTED] wrote:
you can use strings with Python in them when you use declarative even
with args like primaryjoin, so you could say things like:
class Policy(DeclarativeBase):
__tablename__ = 'policy'
policy_state =
you can use strings with Python in them when you use declarative even
with args like primaryjoin, so you could say things like:
class Policy(DeclarativeBase):
__tablename__ = 'policy'
policy_state =
hi I finally made this work. Thanks for the doc link although it
wasn't clear enough. As it's using the classical syntax. But the
last paragraph of that section gave me a good hint.
I have extracted the relevant parts of my model and I got to something
that could become a FAQ item or a tutorial
Information on primaryjoin and secondaryjoin is available at:
http://www.sqlalchemy.org/docs/05/mappers.html#advdatamapping_relation_customjoin
On Sep 25, 2008, at 8:18 PM, Jorge Vargas wrote:
hello I'm having a bit of troubles with the following case.