I am currently learning MongoDB. I have seen tutorials for querying a field in a collection. I would like to know how to query in PHP using the MongoId Object _id value. The closest answer to my question is at Perl Mongo find object Id .
Also, is there a way that when a new record is created, the Object _id value can be recorded in another field of that record?
Thanks.
Update:
In addition to the answer I chose below, a coworker found this as well: