-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
Description
I have a kind called 'm'. All the entities inside this kind have the same structure. All, but one attribute are indexed.
I run the following query:
var query = datastore.createQuery('m').select(['b','c','d','e', 'f']).filter('a', '1464235500').limit(10);
datastore.runQuery(query, function(err, entities, info) {
if (err) {
return (callback('error : ' + err)); // This prints out 'error : Precondition Failed'
}
//do stuff with entities
});
It never gets the entities and instead prints out the error message : Precondition Failed. Without select, the query return fine, but with select it does not. I can't find the problem since all the projected attributes are indexed and none are the filtering is not on a projected attribute.
0.34.0-gcloud-node and real cloud datastore (non-emulator)
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
