Skip to content

Datastore tutorial using wrong variable #452

Description

@dev0x10

On Cloud datastore documentation code:

// Save data to your dataset.
var blogPostData = {
  title: 'How to make the perfect homemade pasta',
  tags: ['pasta', 'homemade'],
  author: 'Andrew Chilton',
  isDraft: true,
  wordCount: 450
};

var blogPostKey = ds.key('BlogPost'); // ds.key(..) should be dataset.key(..)

Activity

  1. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: datastoreIssues related to the Datastore API.
    on May 14, 2015
  2. added this to the Datastore Stable milestone on May 14, 2015
  3. added a commit that references this issue on Sep 27, 2022
  4. 21 remaining items

  5. added a commit that references this issue on Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions