I recently tried out 0.6 beta 3, and I noticed that the following
construct is no longer allowed using the sql expression language:
def update_foos(connection, foo_items):
update = foo_table.update(
foo_table.c.id == bindparam('id'),
values = { 'column_1' : bindparam('column_1'), .......}
)
connection.execute(update, foo_items)
Apparently you can't specify a bindparam in the where clause now. I
was just kind of curious as to what led to this change, and what is
the recommended way of doing this now? Should I have been doing this
in the first place?
Thanks,
Jeff Peck
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.