I have a table in Google app engine datastore. It has 3 columns A,B and C. I need to retrieve all the rows that contain val in either column A, B or C. I am writing a standard sql query like select * from table where A = val or B = val or C = val. But it gives an error. Is there any work around for this? I am using python
Error in or operator for query in GAE datastore
154 Views Asked by user3043728 At
1
There are 1 best solutions below
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in GOOGLE-APP-ENGINE
- AngularJS, Google App Engine and URLrewrite
- Optimizing for Social Leaderboards
- Getting entity with a join table GAE
- Custom exception message from google endpoints exception
- Unable to deploy an application module on AppEngine
- How to use CachedRowSet in Google App Engine?
- How can I create a docker image from the current system?
- Google datastore multiple values for the same property
- Google Cloud Storage sort directory by name
- Adding custom domain for Google App Engine WordPress site
- Arguments to Endpoints method change order
- Could someone bring Google OAuth2 for Cloud DNS via Rest to light?
- DNS_PROBE_FINISHED_NXDOMAIN on Google App Engine website
- GAE python - client_secrets.json 'File not found' - app.yaml error?
- Images not working in Google App Engine email
Related Questions in SELECT
- How to access invisible Unordered List element with Selenium WebDriver using Java
- sqlite3 select statement fails with "parameters are of unsupported type
- Selecting a count from my database using Java and Netbeans
- Finding maximum sales in a particular year
- Append selected list elements into textarea, add own text
- dynamically update select option on keyup in jquery
- Select2 with Ajax + PHP
- How to save select state in url with Ember.js?
- How to retrieve select option?
- angularjs default select always changes
- How to perform boolean addition on an SQL select
- Ember.js: select state not saved in URL when reload page
- mysql inner join query with multiple boolean conditions
- Rails 4: Display selected value on edit in dropdown
- How to modify CSS of a <select> dropdown?
Related Questions in GOOGLE-CLOUD-DATASTORE
- Getting entity with a join table GAE
- Google datastore multiple values for the same property
- I am working on small project with Google AppEngine (Python), tutored by Udacity. I am unable to render user comments to main page
- How to upload images and storing it in db google app engine
- app engine ndb fetch is very slow
- how to optimize this code? I want to fix the DeadlineExceededError issue
- Performance of Objectify filter
- Datastore error: Your request included invalid parameters
- Google Cloud Datastore avoid entity overhead when fetching
- Is GAE Datastore encrypted?
- What is the difference between a high-level and low-level Java API?
- GAE/P: Migrating to NDB efficiently
- Creating consistent Cloud Datastore backup
- App Engine - NDB query with projection requires subproperty?
- Storing a lambda function in the Google App Engine Datastore (python 2.7)
Related Questions in GQL
- Comparing two different properties in GQL
- How to query for entities using a list of ancestor keys
- Cloud Datastore API - php - GqlQuery - Binding args
- what is the GQL count query
- Error in or operator for query in GAE datastore
- Explicitly positive integer in Google Cloud Datastore
- Cursors in LIMIT clause for Google Cloud Datastore GQL queries
- HAS ANCESTOR and HAS DESCENDANT clauses in google cloud datastore
- GQL error on WHERE
- why does gql query result cause exception when calling get()
- How does the appengine datastore (java - JDO) store and return data, i.e. is it FIFO or LIFO? If its FIFO or NEITHER, how can I make it LIFO?
- App Engine Datastore Viewer, how to show count of records using GQL?
- GAE sql (GQL) correct format?
- Query to database with 'primary key' on GoogleAppEngine?
- How to retrieve entity from key value in GQL
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
GQL is not SQL and does not support OR. See docs https://developers.google.com/appengine/docs/python/datastore/gqlreference
You can do such a query using the Query object, e.g.