[DOCS-5680] Comment on: "manual/reference/object-id.txt" Created: 19/Jun/15  Updated: 03/Nov/17  Resolved: 21/Jun/15

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

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

Location: http://docs.mongodb.org/manual/reference/object-id/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36
Referrer: https://www.google.com/
Screen Resolution: 1920 x 1080
repo: docs
source: reference/object-id


Participants:
Days since reply: 8 years, 34 weeks, 4 days ago

 Description   

Believe this is incorrect in the doc:

To return the string representation of an ObjectId() object, use the toString() method as follows:

ObjectId("507f191e810c19729de860ea").toString()
This operation will return the following output:

ObjectId("507f191e810c19729de860ea")



 Comments   
Comment by Kay Kim (Inactive) [ 21/Jun/15 ]

made explicit that the ObjectId().toString() method returns a string literal of the form ObjectId("...")

Comment by Githook User [ 21/Jun/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5680 clarify the string literal form of ObjectId.toString()
Branch: master
https://github.com/mongodb/docs/commit/12659ad63b67db19ba82507972fa22e1e2fe36b0

Comment by Githook User [ 21/Jun/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5680 clarify the string literal form of ObjectId.toString()
Branch: v2.6
https://github.com/mongodb/docs/commit/9c768090624a655d2d396167b7efa16db5eff99a

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