Cloud Datastore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
-
Read Prerequisites and How to run a sample first.
-
Install dependencies:
npm install
View the documentation or the source code.
Run the sample:
Usage: node tasks.js <command> [args]...
Commands:
new <description> Adds a task with a description <description>.
done <taskId> Marks the specified task as done.
list Lists all tasks ordered by creation time.
delete <taskId> Deletes a task.
Options:
--help Show help [boolean]
Examples:
node tasks.js new "Buy milk" Adds a task with description "Buy milk".
node tasks.js done 12345 Marks task 12345 as Done.
node tasks.js list Lists all tasks ordered by creation time
node tasks.js delete 12345 Deletes task 12345.
For more information, see https://cloud.google.com/datastore/docs
View the documentation or the source code.
View the documentation or the source code.
Run the sample:
node error