this was fixed in 1.55.2 Massimo
On Jan 18, 4:27 pm, sebastian <[email protected]> wrote: > > Any ideas ? > > found a work around: (it is needed ONLY for GAE) > > make sure that the variable used in the query is of type int (or > long).If it is comming from the request, them int() or long() must be > used. > > ex: > owner=int(request.vars.owner) > records = db(db.pet.owner==owner).select() > > infact even if db(db.pet.owner==1).select() gives x records db > (db.pet.owner=='1').select() wont give any result. > > note: I'm using the last GAE SDK 1.1.8 - 01/15/09 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

