Skip to content

Datastore Query returning only 'data' and no 'key' #1777

New issue

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

Closed
danvass opened this issue Nov 8, 2016 · 1 comment
Closed

Datastore Query returning only 'data' and no 'key' #1777

danvass opened this issue Nov 8, 2016 · 1 comment
Assignees
Labels
api: datastore Issues related to the Datastore API. type: question Request for information or clarification. Not an issue.

Comments

@danvass
Copy link

danvass commented Nov 8, 2016

Environment details

  • OS: OS X
  • Node.js version: 4
  • npm version: 3
  • google-cloud-node version: 0.43.4 (latest as of writing)

Steps to reproduce

  1. Create a query for Datastore
  2. Run query and log object

The entities returned from a query are no longer in the [ { key, data} ] format. For some reason it now just returns the contents of data.

@stephenplusplus stephenplusplus added api: datastore Issues related to the Datastore API. type: question Request for information or clarification. Not an issue. labels Nov 8, 2016
@stephenplusplus
Copy link
Contributor

Sorry for the confusion. Please see #1768.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants