Skip to content

change the name of the example 'users' collection #1511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/reference/resource-document.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ Specify a Collection of a Database as Resource
If both the ``db`` field and the ``collection`` field are specified,
i.e. both are non-empty strings, the resource is the specified
collection in the specified database. For example, the following
document specifies a resource of the ``users`` collection in the
``test`` database:
document specifies a resource of the ``widgets`` collection in the
``products`` database:

.. code-block:: javascript

{ db: "test", collection: "users" }
{ db: "products", collection: "widgets" }

.. include:: /includes/resource-document-facts.rst
:end-before: admin-resources
Expand Down Expand Up @@ -80,11 +80,11 @@ Specify Collections Across Databases as Resource
If only the ``db`` field is an empty string (``""``), the resource is
all collections with the specified name across all databases. For
example, the following document specifies the resource of all
the ``users`` collections across all the databases:
the ``accounts`` collections across all the databases:

.. code-block:: javascript

{ db: "", collection: "users" }
{ db: "", collection: "accounts" }

.. include:: /includes/resource-document-facts.rst
:start-after: admin-resources
Expand Down