When running the following code:
var gcloud = require('gcloud');
var dataset = gcloud.datastore.dataset({
projectId: 'my-project-id'
});
var query = dataset.createQuery(['Kind1', 'Kind2']);
dataset.runQuery(query, function(err, entities) {
console.log(err);
console.log(entities); // null
});
I get the following error returned: message: 'multiple kinds not supported'
According to https://cloud.google.com/datastore/docs/concepts/queries, Datastore allows querying over a single kind, not multiple.
Maybe we should remove the ability to construct a query with multiple kinds?
When running the following code:
I get the following error returned:
message: 'multiple kinds not supported'According to https://cloud.google.com/datastore/docs/concepts/queries, Datastore allows querying over a single kind, not multiple.
Maybe we should remove the ability to construct a query with multiple kinds?