-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datastore - Support for OR predicate in GQL/Query Filters #1364
Comments
It looks like "OR" isn't supported in Cloud Datastore yet. Looking at the current cloud docs and previous cloud docs, I don't see "or" mentioned under composite filter operators, just "and". Also, this page and this page (in the "where" row) affirm that only "and" is supported for now. /cc @eddavisson are there plans to support "OR" in Cloud Datastore? |
@ajkannan - This page clearly states that - Restrictions on queries
I wonder if any of the client libraries (possibly Python or the AppEngine Java API) do this, and if so, how do they do it? Something to look into. |
@sai-pullabhotla I can confirm that |
@mziccard - Thanks. I just wanted to make sure if this is something the Datastore supports or not. Now we know the answer. I'm closing this. |
Is there a reason why a datastore query (GQL or otherwise) does not allow OR predicate? I noticed that the AppEngine Datastore supports this -
(https://cloud.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Query.CompositeFilter).
I was under the impression that Cloud Datastore is similar (or same) as AppEngine Datastore.
In any case, is this some thing that can be supported?
The text was updated successfully, but these errors were encountered: