On Tue, Nov 12, 2013 at 8:39 PM, Claudio Dusan Vega Ozuljevich < [email protected]> wrote:
> Hi guys > > I was checking the documentation on transaction ( > http://webpy.readthedocs.org/en/latest/db.html#transactions ) and > wonder vars are used, which is weird because it won't work: > > Using the $ with no quotes return an error: > > SyntaxError: invalid syntax > > and even with the quotes it return an error too: > > ProgrammingError: can't adapt type 'dict' > > I thought that vars are used only in the where clause in select statements. > > Am I doing something wrong or it is an error on the doc? > That is error in the docs. Fixed now. Thanks for pointing it. Anand -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
