You can have a default value in your model and then filter  value =
db.IntegerProperty(default=-1)

filter("value =", -1)

2008/11/28 Alexander Kojevnikov <[EMAIL PROTECTED]>

>
> The GQL reference doesn't mention a NULL value literal. However, this
> hack will do the job:
>
>    SELECT * FROM Bookmark WHERE favIcon < ''
>
> This is not documented, use at your own risk.
>
> On Nov 28, 7:01 pm, pr3d4t0r <[EMAIL PROTECTED]> wrote:
> > Greetings.
> >
> > I tried many variations of this query:
> >
> > SELECT * FROM Bookmark WHERE favIcon = null
> >
> > Including ==, is, null, <null>, None, etc.  I need to find all the
> > instances of a Bookmark entity for which the favIcon was set to None
> > in the Python code.
> >
> > I know how to do it from the application itself; rather trivial.
> > Where I can't do it is in the Data Viewer query string.
> >
> > Thanks in advance,
> >
> > pr3d4t0rhttp://istheserverup.comhttp://teslatestament.com
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to