Skip to content

datatstore: Provide a way to get the generated ID from a Key object #171

Closed
@rakyll

Description

@rakyll
var key = ds.key('Kind', null)
ds.put({
  key: key,
  data: //...
}, function(err, key) {
   /// how to i read the key ID?
});

Metadata

Metadata

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions