we have to execute our sql in limited form in our company,
like `sqlstore.execute('select id from foos where is_foo = %s and 
create_time>%', (1, datetime.now())`,

which sqlstore.execute is defined like:

def execute(self, sql, args=None, executemany=False):
the `sql` param is string type, `args` is a tuple of values


I want to use sqlalchemy core to construct the `sql` and `args`,
is that a way to translate all sqlalchemy's insert(), select() ... to the 
given form?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to