On Wed, Jan 20, 2010 at 2:39 PM, geekbuntu <[email protected]> wrote:
>        results = db.query('books', where="title LIKE '$i.search'")

Have you tried this:

    db.select('books', where='title LIKE $search', vars={'search': i.search})

?


Best regards,

-- 
Branko Vukelić

http://foxbunny.tumblr.com/
http://www.flickr.com/photos/16889...@n04/
http://www.twitter.com/foxbunny
http://github.com/foxbunny
-- 
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.


Reply via email to