Unable to query on two indexed fields with 1 being date [Datastore] #2660
Labels
api: datastore
Issues related to the Datastore API.
type: question
Request for information or clarification. Not an issue.
Environment details
I am unable to pass in multiple query filters if one of them is checking for a date. It gives the error Your Datastore does not have the composite index (developer-supplied) required for this query. It also produces this result if I try to sort based on the date.
In the indexes tab inside Google Cloud console there is nothing. Any information I try to find about this it talks about having your index composites inside index.yaml. With google-cloud-node I do not have this yaml file, and don't think I need it? If I do where would I need to connect it.
Query filter by date + _id (both indexed) not working

Querying date alone works

Querying matched _id works

Multiple query filters do work

The text was updated successfully, but these errors were encountered: