datastore-tools

0.1.1 • Public • Published

Google Cloud Datastore Tools

Build Status Greenkeeper badge

Cloud Datastore is a NoSQL document database built for automatic scaling, high performance, and ease of application development. While the Cloud Datastore interface has many of the same features as traditional databases, as a NoSQL database it differs from them in the way it describes relationships between data objects.

Table of contents:

Before you begin

Set up authentication with a service account so you can access the API from your local workstation.

Installing the tools

npm install -g datastore-tools

Using the tools

Usage: datastore --help or datastore-tools --help

datastore <command>

Commands:
  datastore truncate     Delete all entities.
  datastore dump <file>  Export all entities.

Options:
  --version        Show version number                                 [boolean]
  --namespace, -n  Specify namespace                                    [string]
  --kind, -k       Specify kind                                         [string]
  --verbose, -v    Provide more information                            [boolean]
  --help           Show help                                           [boolean]

Examples:
  datastore truncate        Delete all entities.
  datastore dump dump.json  Export all entities to dump.json.

Readme

Keywords

none

Package Sidebar

Install

npm i datastore-tools

Weekly Downloads

4

Version

0.1.1

License

Apache-2.0

Unpacked Size

17.6 kB

Total Files

6

Last publish

Collaborators

  • boiyaa