Thanks for response,
TaskIntro table is defined as:
Table(
'task_intros',
METADATA,
Column('id', Integer, primary_key=True),
...
Column('redirect_rule_id', Integer,
ForeignKey('redirect_rules.id'), nullable=True),
mysql_engine='InnoDB',
mysql_charset='utf8'
)
and query defined in function above is taken as
SESSION.query(TaskIntro) and then I just call method all().
So, from table definition and redirect_rule_id foreign key you can
see, that this is impossible that more than one redirect_rule row will
be matched to task_intro.
Cheers!,
Alex
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.