turn echo/logging on and see the difference.
one embeds it in the statement, another comes as runtime bind-param.
i guess u cannot give funcs as bind-parameters (runtime) ??
On Thursday 20 November 2008 14:42:16 Moshe C. wrote:
> table.update(criterion, values={'last_edited' : func.now()}
> ).execute ()
> works
>
> but
> table.update(criterion ).execute({'last_edited' : func.now()})
> does not. It tries to set 'last_edited' to functions object.
>
> Can someone clarify the difference ?
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---