[sqlalchemy] Re: session.execute w/ list of values instead of dict?

2011-06-23 Thread Wells Oliver
Hmm, new to SQLAlchemy here, but if I want transactions, then I need to go the Session route, correct? On Jun 23, 2:48 pm, Michael Bayer wrote: > On Jun 23, 2011, at 5:08 PM, Wells Oliver wrote: > > > W/ psycopg2, you can do a cursor.execute(query, list) where list is an > >

[sqlalchemy] session.execute w/ list of values instead of dict?

2011-06-23 Thread Wells Oliver
W/ psycopg2, you can do a cursor.execute(query, list) where list is an actual python list of values : [1,2,3] W/ SQLAlchemy, it seems the session.execute(query, values) will only accept a dictionary for values. Am I missing something? Can I pass a list instead? Thanks. -- You received this messa