Skip to content

Update index-single.txt #1559

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
8 changes: 4 additions & 4 deletions source/core/index-single.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ Cases
``_id`` Field Index
~~~~~~~~~~~~~~~~~~~

For all collections, MongoDB creates the default ``_id`` index, which
is a :ref:`unique index <index-type-unique>` on the ``_id`` field.
MongoDB creates this index by default on all collections. You cannot
delete the index on ``_id``.
MongoDB creates the ``_id`` index, which is an ascending :ref:`unique
index <index-type-unique>` on the ``_id`` field for all collections when
the collection is created. The index on the ``_id`` field cannot be
deleted.

You can think
of the ``_id`` field as the :term:`primary key` for the collection.
Expand Down