[google-appengine] Re: query over two properties

2009-02-17 Thread Marzia Niccolai
Hi,

To clarify, the datastore does support the AND operator, but it does _not_
support the OR operator.

-Marzia

On Mon, Feb 16, 2009 at 4:32 PM, djidjadji  wrote:

>
> GAE queries do not allow AND and OR operators.
> For your problem you have to combine the results from 2 queries.
> One on the 'to' field and one on the 'from' field.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: query over two properties

2009-02-16 Thread djidjadji

GAE queries do not allow AND and OR operators.
For your problem you have to combine the results from 2 queries.
One on the 'to' field and one on the 'from' field.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---