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