[DOCS-7991] Link to /tutorial/create-an-auto-incrementing-field invalid Created: 30/May/16  Updated: 30/Oct/23  Resolved: 19/Sep/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Ravind Kumar (Inactive)
Resolution: Won't Fix Votes: 0
Labels: collector-298ba4e7, docs-triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/crud/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36
Screen Resolution: 1920 x 1080


Participants:
Days since reply: 5 years, 21 weeks, 1 day ago
Epic Link: DOCSP-1769

 Description   

The link (http://docs.mongodb.com/manual/tutorial/create-an-auto-incrementing-field) seems broken.

Thanks!



 Comments   
Comment by Anthony Sansone (Inactive) [ 19/Sep/18 ]

We removed that tutorial from our documentation. It described processes that ran counter to best practices for the _id field. If you are looking for the procedure in general, you can find it here in an older version of documentation.

We must emphasize that the processes documented in that tutorial should not be used for the _id field.

Generally in MongoDB, you would not use an auto-increment pattern for the _id field, or any field, because it does not scale for databases with large numbers of documents. Typically the default value ObjectId is more ideal for the _id.

Thank you for reaching out"

Generated at Thu Feb 08 07:55:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.