Convert ObjectID (Mongodb) to String in JavaScript -


i want convert objectid (mongodb) string in javascript. when object form mongodb. object has: timestamp, second, inc, machine. can't convert string.

try this:

objectid.str; 

see doc: http://docs.mongodb.org/manual/reference/object-id/


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -