yah like
user_mapper.select(and_(c.user_id>3, user_age > bindparam('age'),
user_age < bindparam('age2')), params={'age':5, 'age2':10})
On Mar 27, 2006, at 5:22 AM, Sandro Dentella wrote:
Hi all,
can I use bind parameters from mapper? i would like to pass from:
result = user_mapper.select(and_(
user_table.c.user_id>3, "user_age > 35", "user_age < 60"))
to something using bind parameters:
result = user_mapper.select(and_(
c.user_id>3, "user_age > :age", "user_age < :age2")).???
sorry in case this is already written and I didn't see it...
sandro
*:-)
--
Sandro Dentella *:-)
e-mail: [EMAIL PROTECTED]
http://www.tksql.org TkSQL Home page - My GPL work
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the
live webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users