Hi, all.
I'm trying to build a query using the LIKE operator. I'm using
PostgreSQL 8.1, web.py, python2.4, all in windows.
If I do something like this:
web.query("SELECT * FROM foo WHERE bar LIKE 'test%'")
I get an exception in line 338 from db.py
out = cur.execute(sql_query.s, sql_query.v)
IndexError: tuple index out of range
I've printed some values, sql_query.v is empty. What was it supposed
to be its value?
TIA,
Raphael Lullis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---