I am trying to set up a commenting system using the example on http://docs.mongodb.org/manual/use-cases/storing-comments/
However I am confused on the discussion_id. How do I set that in PHP? Is that a datatype?
{
_id: ObjectId(...),
discussion_id: ObjectId(...),
slug: '34db',
posted: ISODateTime(...),
author: {
id: ObjectId(...),
name: 'Rick'
},
text: 'This is so bogus ... '
}