Skip to content

Fixed typo (missing ` and > on insert()) #820

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
2 changes: 1 addition & 1 deletion source/core/indexes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ You cannot delete the index on ``_id``.
The ``_id`` field is the :term:`primary key` for the collection, and
every document *must* have a unique ``_id`` field. You may store any
unique value in the ``_id`` field. The default value of ``_id`` is
:term:`ObjectID` on every insert() <db.collection.insert()` operation. An :term:`ObjectId`
:term:`ObjectID` on every `insert() <db.collection.insert()>` operation. An :term:`ObjectId`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be:

  :method:`~db.collection.insert()`

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it.
On 8 Apr 2013 11:24, "Sam Kleinman" [email protected] wrote:

In source/core/indexes.txt:

@@ -105,7 +105,7 @@ You cannot delete the index on _id.
The _id field is the :term:primary key for the collection, and
every document must have a unique _id field. You may store any
unique value in the _id field. The default value of _id is
-:term:ObjectID on every insert() <db.collection.insert() operation. An :term:ObjectId +:term:ObjectIDon everyinsert() <db.collection.insert()>operation. An :term:ObjectId`

this should be:

:method:~db.collection.insert()


Reply to this email directly or view it on GitHubhttps://github.com//pull/820/files#r3697583
.

is a 12-byte unique identifiers suitable for use as the value of an
``_id`` field.

Expand Down