Skip to content

Datastore: Use new Key object to easily reference parts of a key path #48

Closed
@stephenplusplus

Description

@stephenplusplus

RE: #47 (comment)

gcloud-node has made some improvements around Key objects, making it easier to reference a name/id, kind, parent, etc. We should use them here to avoid the less-readable key.path.pop() and key.path[n] technique.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions