strange.. I'm using the last one (1.55.2)

On Sun, Jan 18, 2009 at 11:36 PM, mdipierro <[email protected]> wrote:

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to