sand-datastore

1.0.1 • Public • Published

Sand Datastore

Sand Client to Google Cloud Datastore.

Config

Option Description
namespace optional namespace for all Kinds created by this client

sand.datastore

sand.datastore.kind(kindName)

Creates a client that interacts with a Kind of the specified kindName.

class Kind

Kind.get(id[, callback])

Get the kind with this id.

Kind.save(id, value[, callback])

Saves the value with the id for this Kind

Kind.delete(id[, callback])

Deletes the value at the specified key for this Kind

Kind.key(id)

Builds a gcloud-node compatible key for the specified id, including the namespace if configured.

Depends on

/sand-datastore/

    Package Sidebar

    Install

    npm i sand-datastore

    Weekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • jacinto