[sqlalchemy] Re: How do you execute pure SQL against placeholders?

2007-03-02 Thread metaperl
Yes Mike, thanks for the link. Am I to understand that SA does not figure out whether to quote the placeholder based on the type of the data? I was hoping if the data supplied was a string, that it would quote the data. On Mar 1, 3:30 pm, Michael Bayer [EMAIL PROTECTED] wrote: text(select *

[sqlalchemy] Re: How do you execute pure SQL against placeholders?

2007-03-02 Thread Michael Bayer
its a bind parameter, no quoting is required. On Mar 2, 2007, at 9:26 AM, metaperl wrote: Yes Mike, thanks for the link. Am I to understand that SA does not figure out whether to quote the placeholder based on the type of the data? I was hoping if the data supplied was a string, that it

[sqlalchemy] Re: How do you execute pure SQL against placeholders?

2007-03-01 Thread Michael Bayer
text(select * from usersearches where searchschedule=:dayno, engine=myengine).execute(dayno=5) ? that would be here: http://www.sqlalchemy.org/docs/sqlconstruction.myt#sql_textual_textual_binds On Mar 1, 10:20 am, metaperl [EMAIL PROTECTED] wrote: This would seem to be an easy obvious

[sqlalchemy] Re: How do you execute pure SQL against placeholders?

2007-03-01 Thread Michael Bayer
text(select * from usersearches where searchschedule=:dayno, engine=myengine).execute(dayno=5) ? that would be here: http://www.sqlalchemy.org/docs/ sqlconstruction.myt#sql_textual_textual_binds On Mar 1, 2007, at 10:20 AM, metaperl wrote: This would seem to be an easy obvious task,