thats a bind parameter. the actual value should be in the associated
binds.
On Apr 15, 2006, at 4:39 AM, Sascha Gresk wrote:
Hi - I am trying the first excample in section "Operators":
http://www.sqlalchemy.org/docs/
sqlconstruction.myt#constructing_building
# "like" operator
users.select(users.c.user_name.like('%ter'))
My result is:
SELECT users.user_id, users.user_name, users.password
FROM users
WHERE users.user_name LIKE %(users_user_name)s
which does not does not contain the inputstring "'%ter'"
This result can be reproduced with postgres and sqlite ...
Full transcript of my session is here:
https://www.opensource-consult.com/sqlalchemy
-- Es ist schon ein Kreuz wenn man drei Kubikhektar Geld besitzt.
Allein die Lagerung kostet ein Vermögen!
Dagobert Duck, reichste Ente der Welt
-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
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&kid0944&bid$1720&dat1642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users