1==0 is not a query in terms of web2py

even 1==db.prod.id is not valid, a field should be first
db.prod.id == 1 is a valid query

Reply via email to