On Feb 15, 8:28 pm, a...@svilendobrev.com wrote:
> see the signature of that update method, probably 'where' is first or
> second arg which u provide already

Yes -- this is inconsistent with db.select, where the 'vars' argument
comes earlier.  As the documentation for db.update points the user to
the documentation for db.select, where the vars argument is always
passed second, directly after the table name, this is quite confusing
-- perhaps it could be changed in a future version.  (Yes, it's good
practice to use keyword args, but the convention ought to be
consistent IMHO between db.select and db.update.)

Thanks for your help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com
To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to