- Before you begin
- Samples
- Concepts
- Error
- Export
- Import
- Indexes.get
- Indexes.list
- Create a union between two filters
- Run query explain (regular query)
- Run query explain (aggregate query)
- Run query explain analyze (regular query)
- Run query explain analyze (aggregate query)
- Quickstart
- Add Task
- Delete Task
- Legacy Samples
- List Tasks
- Update Task
Before running the samples, make sure you've followed the steps outlined in Using the client library.
cd samples
npm install
cd ..
View the source code.
Usage:
node samples/concepts.js
View the source code.
Usage:
node samples/error.js
View the source code.
Usage:
node samples/export.js
View the source code.
Usage:
node samples/import.js
View the source code.
Usage:
node samples/indexes.get.js
View the source code.
Usage:
node samples/indexes.list.js
Create a union between two filters (logical OR operator)
View the source code.
Usage:
node samples/queryFilterOr.js
Run query explain for a standard query and print query explain metrics
View the source code.
Usage:
node samples/queryProfileExplain.js
Run query explain for an aggregate query and print query explain metrics
View the source code.
Usage:
node samples/queryProfileExplainAggregation.js
Run query explain analyze for a standard query and print query explain metrics
View the source code.
Usage:
node samples/queryProfileExplainAnalyze.js
Run query explain analyze for an aggregate query and print query explain metrics
View the source code.
Usage:
node samples/queryProfileExplainAnalyzeAggregation.js
View the source code.
Usage:
node samples/quickstart.js
Adds a task with a description .
View the source code.
Usage:
node tasks.add.js <description>
Deletes task .
View the source code.
Usage:
node tasks.delete.js <taskId>
View the source code.
Usage:
node samples/tasks.js
Lists all tasks ordered by creation time.
View the source code.
Usage:
node tasks.list.js
Marks task as Done.
View the source code.
Usage:
node tasks.markdone.js <taskId>