We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone git@github.com:GoogleCloudPlatform/nodejs-docs-samples.git cd nodejs-docs-samples/datastore
Open quickstart.js Add code below to end of the file
quickstart.js
// query for entities var q = datastoreClient.createQuery(kind) q.run((err, entities, nextQuery) => { console.log(err, entities, nextQuery) for(var i = 0; i < entities.length; i++) { var task = entities[i]; console.log(`Task ${task}: Key${task.key}`); } });
Run
npm install node quickstart.js
Keys returned with entity results.
Next update package.json to use 0.5.0 of @google-cloud/datastore
node quickstart.js
Keys are "undefined".
The text was updated successfully, but these errors were encountered:
Note the default version of @google-cloud/datastore for nodejs-docs-samples is "^0.1.1"
Sorry, something went wrong.
This issue was moved to GoogleCloudPlatform/nodejs-docs-samples#250
stephenplusplus
No branches or pull requests
Environment details
Steps to reproduce
Open
quickstart.js
Add code below to end of the file
Run
Keys returned with entity results.
Next update package.json to use 0.5.0 of @google-cloud/datastore
Run
Keys are "undefined".
The text was updated successfully, but these errors were encountered: