powered by
mongo.oid.from.string()
mongo.oid.to.string(oid)
oid
as.character.mongo.oid()
as.character(oid)
See http://www.mongodb.org/display/DOCS/Object+IDs
mongo.oid.create
as.character.mongo.oid
mongo.oid.from.string
mongo.bson.buffer.append
mongo.bson.buffer.append.oid
oid <- mongo.oid.create() print(mongo.oid.to.string(oid)) print(as.character(oid)) # print same thing as above line
Run the code above in your browser using DataLab