-
Notifications
You must be signed in to change notification settings - Fork 653
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
I have the following script:
var projectId = 'my project';
var gcloud = require('gcloud')({projectId: projectId});
var datastore = gcloud.datastore();
var query = datastore.createQuery('TodoList'); // (1)
datastore.runQuery(query)
.on('data', function(entity) {})
.on('end', function() {});When I run it I get this: (note there are no console.log calls in my script)
$ node gcdtest.js
Service URL: https://datastore.googleapis.com/google.datastore.v1beta3.Datastore
Bearer <a long token is here... not exposing it for obvious reasons>
$
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.