I want to convert ObjectID (Mongodb) to String in JavaScript. When I get a Object form MongoDB. it like as a object has: timestamp, second, inc, machine. I can\'t convert to
In server: ObjectId(507f191e810c19729de860ea)._str.
ObjectId(507f191e810c19729de860ea)._str
In template: {{ collectionItem._id._str }}.
{{ collectionItem._id._str }}