GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — datastore: Set namespace while initing a Dataset · Issue #116 · googleapis/google-cloud-node

datastore: Set namespace while initing a Dataset #116

New issue
Copy link
New issue
Copy link
Closed
Closed
datastore: Set namespace while initing a Dataset#116
Copy link
Assignees
stephenplusplus
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.
Milestone
Datastore Stable

Description

@rakyll
rakyll
opened on Aug 19, 2014
Issue body actions

According to #85, namespaces are used to differentiate customer data. They could be seen as workspaces of the same data source. From that point, most of our users are likely to need namespaces most of the time.

What we currently do is to provide two different interfaces and key representations for namespace users. Rather than keep doing that, why don't we let them a namespace at the Dataset constructor.

var ds = new Dataset({
  projectId: '..',
  // ...
  namespace: '...'
});

Any operation can include a partition ID if a namespace is set.

Activity

Next
  1. rakyll
    added this to the This milestone has been deleted milestone on Aug 19, 2014
  2. rakyll commented on Aug 19, 2014

    @rakyll
    rakyll
    on Aug 19, 2014
    ContributorAuthor
    More actions

    Our key representation will be an arbitrary list of <kind, identifier> tuples without namespace magic.

  3. rakyll
    added a commit that references this issue on Aug 20, 2014

    datastore: Namespace should be a dataset-level configuration.

    This issue will close once commit 2176aea is merged into the 'master' branch.
    2176aea
  4. stephenplusplus
    added 4 commits that reference this issue on Aug 20, 2014

    datastore: scope Key creation to include NS. fixes googleapis#116.

    This issue will close once commit 1e9dcce is merged into the 'master' branch.
    1e9dcce

    datastore: scope Key creation to include NS. fixes googleapis#116.

    This issue will close once commit 8c8ab55 is merged into the 'master' branch.
    8c8ab55

    datastore: scope Key creation to include NS. fixes googleapis#116.

    This issue will close once commit f9f98a3 is merged into the 'master' branch.
    f9f98a3

    datastore: scope Key creation to include NS. fixes googleapis#116.

    This issue will close once commit 3f742ea is merged into the 'master' branch.
    3f742ea
  5. stephenplusplus
    closed this as completedin 3f742eaon Aug 22, 2014
  6. silvolu
    added a commit that references this issue on Aug 22, 2014

    Merge pull request #124 from stephenplusplus/namespaces

    This issue will close once commit 3297751 is merged into the 'main' branch.
    3297751
  7. jgeewax
    added
    api: datastoreIssues related to the Datastore API.
    on Feb 2, 2015
  8. jgeewax
    modified the milestones: This milestone has been deleted, Datastore Stable on Feb 2, 2015
  9. yoshi-automation
    added
    triage meI really want to be triaged.
    on Apr 6, 2020
  10. 58 remaining items

  11. sofisl
    added a commit that references this issue on Feb 3, 2026

    chore(package): update nyc to version 12.0.2 (#116)

    f58e4e7
  12. GautamSharda
    added a commit that references this issue on Feb 3, 2026

    Merge pull request #116 from GoogleCloudPlatform/style

    daf9c0d
  13. sofisl
    added a commit that references this issue on Feb 4, 2026

    chore(deps): lock file maintenance (#116)

    9c6f181
  14. GautamSharda
    added a commit that references this issue on Feb 5, 2026

    chore: test on node10 (#116)

    1e4cefe
  15. GautamSharda
    added 3 commits that reference this issue on Feb 23, 2026

    chore: test on node10 (#116)

    2aee813

    chore(deps): update dependency webpack to v5 (#116)

    19efe5b

    chore: test on node10 (#116)

    3a1309d
  16. codyoss
    added a commit that references this issue on Mar 5, 2026

    build: remove unused clang format (#116)

    41f7b8a
  17. sofisl
    added a commit that references this issue on Mar 5, 2026

    fix: Pin @types/sinon to last compatible version (#116)

    48d4b7f
  18. codyoss
    added 2 commits that reference this issue on Mar 9, 2026

    chore: removing node6 CI (#116)

    1538aec

    chore: removing node6 CI (#116)

    7f80311
  19. GautamSharda
    added a commit that references this issue on Mar 11, 2026

    docs(subscription): add mention of auto-leasing (#116)

    8782670
  20. codyoss
    added a commit that references this issue on Mar 12, 2026

    chore(nodejs_templates): add script logging to node_library populate-…

    dcb7669
  21. GautamSharda
    added 2 commits that reference this issue on Mar 12, 2026

    build: add new kokoro config for coverage and release-please (#116)

    ff935b1

    build: add new kokoro config for coverage and release-please (#116)

    890f9b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

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

    Milestone

    • Datastore Stable

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.