[DOCS-11333] Comment on: "manual/reference/method/ObjectId.toString" Created: 17/Feb/18  Updated: 29/Oct/23  Resolved: 18/Feb/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

https://docs.mongodb.com/manual/reference/method/ObjectId.toString/

Location: https://docs.mongodb.com/manual/reference/method/ObjectId.toString/
Referrer: https://www.google.ca/
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Screen Resolution: 1366 x 768


Participants:
Days since reply: 5 years, 51 weeks, 3 days ago
Story Points: 0.1

 Description   

This will return the following string:
ObjectId("507c7f79bcf86cd7994f6c0e")

SHOULD BE REPLACED BY

This will return the following string:
"507c7f79bcf86cd7994f6c0e"



 Comments   
Comment by Githook User [ 18/Feb/18 ]

Author:

{'email': 'i80and@foxquill.com', 'name': 'Andrew Aldridge', 'username': 'i80and'}

Message: DOCS-11333: Clarify that ObjectId.toString docs refer to mongo shell
Branch: v3.0
https://github.com/mongodb/docs/commit/0caf09ef9ea7ba1b1f4fff319c3f8821057f749b

Comment by Githook User [ 18/Feb/18 ]

Author:

{'email': 'i80and@foxquill.com', 'name': 'Andrew Aldridge', 'username': 'i80and'}

Message: DOCS-11333: Clarify that ObjectId.toString docs refer to mongo shell
Branch: v3.2
https://github.com/mongodb/docs/commit/ed147a94c47362007304d66734aad12aff85872c

Comment by Githook User [ 18/Feb/18 ]

Author:

{'email': 'i80and@foxquill.com', 'name': 'Andrew Aldridge', 'username': 'i80and'}

Message: DOCS-11333: Clarify that ObjectId.toString docs refer to mongo shell
Branch: v3.4
https://github.com/mongodb/docs/commit/218da72424db942a0d567c967ea791e8d177ca0f

Comment by Githook User [ 18/Feb/18 ]

Author:

{'email': 'i80and@foxquill.com', 'name': 'Andrew Aldridge', 'username': 'i80and'}

Message: DOCS-11333: Clarify that ObjectId.toString docs refer to mongo shell
Branch: master
https://github.com/mongodb/docs/commit/8828eee96e66252d024a7f62c59653c1d6332767

Comment by Andrew Aldridge [ 18/Feb/18 ]

Calling the toString method on an ObjectId instance in the MongoDB shell returns a string of the form ObjectId("...") as documented.

The Node.js driver has its own documentation: https://mongodb.github.io/node-mongodb-native/3.0/

Generated at Thu Feb 08 08:02:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.