Repository navigation
Where is the code for Dataset.get() ...? #537
Description
Activity
- addedtype: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
on May 7, 2015 Oh man, the complicated web that is JSDocs + the Docs -> MD tool we use + how we rig things up on the FE. A Dataset has a @mixin of the Transaction class, which is where
getcomes from. http://googlecloudplatform.github.io/gcloud-node/#/docs/v0.14.0/datastore/transaction?method=getOff the top of my head, I can't think of an easy way to solve for this, but will think on it.
- Hmm -- that link seems to lead me astray as well... And I don't see a method called "get" defined on the Transaction class either....?
Oops, the web gets webbier. Transaction itself has a @mixin on the DatastoreRequest class, which is finally where
getlives: https://github.com/GoogleCloudPlatform/gcloud-node/blob/v0.14.0/lib/datastore/request.js#L102So it got the line number right, but the file wrong. I don't know if that helps make things any easier?
That does, indeed. Let's see what we can do about this...
This was resolved by #584 - I tagged the wrong issue in the PR.
13 remaining items
- added 4 commits that reference this issue
on Jan 27, 2026 - added a commit that references this issue
on Feb 25, 2026 - added a commit that references this issue
on Mar 5, 2026 - added a commit that references this issue
on Mar 5, 2026 - added 2 commits that reference this issue
on Mar 11, 2026 - added a commit that references this issue
on Mar 27, 2026
If I go to http://googlecloudplatform.github.io/gcloud-node/#/docs/v0.14.0/datastore/dataset?method=get
And click the "view code" link (https://github.com/GoogleCloudPlatform/gcloud-node/blob/v0.14.0/lib/datastore/dataset.js#L102) I'm taken to an empty line...
Looking around in the file didn't send me to any code...
Is this method magically injected somehow?