diff --git a/source/compatibility.txt b/source/compatibility.txt index 900c6f67f..a40075807 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -4,6 +4,13 @@ Compatibility ============= +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: node.js + .. contents:: On this page :local: :backlinks: none diff --git a/source/fundamentals/connection.txt b/source/fundamentals/connection.txt index 8dac84c52..d34235517 100644 --- a/source/fundamentals/connection.txt +++ b/source/fundamentals/connection.txt @@ -6,6 +6,13 @@ Connection .. default-domain:: mongodb +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: node.js + .. toctree:: /fundamentals/connection/connect diff --git a/source/fundamentals/connection/connect.txt b/source/fundamentals/connection/connect.txt index 72fa88919..21c5cc494 100644 --- a/source/fundamentals/connection/connect.txt +++ b/source/fundamentals/connection/connect.txt @@ -4,6 +4,13 @@ Connection Guide ================ +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: node.js + .. contents:: On this page :local: :backlinks: none diff --git a/source/fundamentals/crud.txt b/source/fundamentals/crud.txt index 8276c9d38..673a08dcd 100644 --- a/source/fundamentals/crud.txt +++ b/source/fundamentals/crud.txt @@ -6,6 +6,13 @@ CRUD Operations .. default-domain:: mongodb +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: node.js + .. toctree:: :caption: CRUD Operations diff --git a/source/fundamentals/crud/read-operations.txt b/source/fundamentals/crud/read-operations.txt index 727f4a970..b24659e9d 100644 --- a/source/fundamentals/crud/read-operations.txt +++ b/source/fundamentals/crud/read-operations.txt @@ -4,6 +4,13 @@ Read Operations .. default-domain:: mongodb +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: code example, node.js, sample dataset + - :doc:`/fundamentals/crud/read-operations/retrieve` - :doc:`/fundamentals/crud/read-operations/cursor` - :doc:`/fundamentals/crud/read-operations/distinct` diff --git a/source/index.txt b/source/index.txt index 7889488a2..f1affefcc 100644 --- a/source/index.txt +++ b/source/index.txt @@ -2,6 +2,9 @@ MongoDB Node Driver =================== +.. meta:: + :keywords: node.js + .. _node-driver-landing: .. toctree:: diff --git a/source/quick-reference.txt b/source/quick-reference.txt index 8167c1bc1..5808f8fd2 100644 --- a/source/quick-reference.txt +++ b/source/quick-reference.txt @@ -6,6 +6,13 @@ Quick Reference .. default-domain:: mongodb +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: node.js + This page shows the driver syntax for several MongoDB commands and links to their related reference and API documentation. diff --git a/source/quick-start.txt b/source/quick-start.txt index 26bc3ea4f..d6ed56466 100644 --- a/source/quick-start.txt +++ b/source/quick-start.txt @@ -4,6 +4,13 @@ Quick Start =========== +.. facet:: + :type: genre + :values: tutorial + +.. meta:: + :keywords: node.js + .. contents:: On this page :local: :backlinks: none diff --git a/source/usage-examples.txt b/source/usage-examples.txt index 24ac89e4d..235ff4099 100644 --- a/source/usage-examples.txt +++ b/source/usage-examples.txt @@ -6,6 +6,13 @@ Usage Examples .. default-domain:: mongodb +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: node.js + .. contents:: On this page :local: :backlinks: none diff --git a/source/usage-examples/find.txt b/source/usage-examples/find.txt index f5b82b3b6..62c9ce0cb 100644 --- a/source/usage-examples/find.txt +++ b/source/usage-examples/find.txt @@ -6,6 +6,13 @@ Find Multiple Documents .. default-domain:: mongodb +.. facet:: + :type: genre + :values: reference + +.. meta:: + :keywords: code example, node.js, sample dataset + You can query for multiple documents in a collection with ``collection.find()``. The ``find()`` method uses a query document that you provide to match the subset of the documents in the collection that match the diff --git a/source/usage-examples/findOne.txt b/source/usage-examples/findOne.txt index 88d3988d3..7bc76cab0 100644 --- a/source/usage-examples/findOne.txt +++ b/source/usage-examples/findOne.txt @@ -6,6 +6,13 @@ Find a Document .. default-domain:: mongodb +.. facet:: + :type: genre + :values: tutorial + +.. meta:: + :keywords: code example, node.js, sample dataset + You can query for a single document in a collection with the ``collection.findOne()`` method. The ``findOne()`` method uses a query document that you provide to match only the subset of the documents in the diff --git a/source/usage-examples/insertOne.txt b/source/usage-examples/insertOne.txt index de6b43df4..85fb35a44 100644 --- a/source/usage-examples/insertOne.txt +++ b/source/usage-examples/insertOne.txt @@ -6,6 +6,13 @@ Insert a Document .. default-domain:: mongodb +.. facet:: + :type: genre + :values: tutorial + +.. meta:: + :keywords: code example, node.js, sample dataset + You can insert a document into a collection using the `collection.insertOne() <{+api+}/classes/Collection.html#insertOne>`__ method. To insert a document, define an object that contains the fields and values that