Skip to content

dataset.get's example code looks... broken? #901

@jgeewax

Description

@jgeewax

Looking at http://googlecloudplatform.github.io/gcloud-node/#/docs/v0.23.0/datastore/dataset?method=get

I see

Where you see transaction, assume this is the context that's relevant to your use, whether that be a Dataset or Transaction object.

(empty area that looks like it should have code)

Get a single entity.

var key = dataset.key(['Company', 123]);

transaction.get(key, function(err, entity) {});

I think there are a few issues

  1. The empty space looks like it should have code
  2. The second snippet about getting a single entity refers to a variable that doesn't appear to be defined

Any idea what's up here?

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions