Description Usage Arguments Details Value See Also Examples
Convert a mongo.oid object to a string of 24 hex digits. This
performs the inverse operation of mongo.oid.from.string()
.
1 | mongo.oid.to.string(oid)
|
oid |
(mongo.oid) The OID to be converted. |
This function is an alias of as.character.mongo.oid()
which
you may perfer to use since the class mechanism of R allows that to be
called simply by as.character(oid)
.
See http://www.mongodb.org/display/DOCS/Object+IDs
(string) A string of 24 hex digits representing the bits of
oid
.
mongo.oid,
mongo.oid.create
,
as.character.mongo.oid
,
mongo.oid.from.string
,
mongo.bson.buffer.append
,
mongo.bson.buffer.append.oid
,
mongo.bson.buffer,
mongo.bson.
1 2 3 | oid <- mongo.oid.create()
print(mongo.oid.to.string(oid))
print(as.character(oid)) # print same thing as above line
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.