mongo.oid.print: Display a mongo.oid object

Description Usage Arguments Details Value See Also Examples

View source: R/bson.R

Description

Display formatted output of a mongo.oid object.

Usage

1

Arguments

x

mongo.oid The object to display.

Details

This version is an alias of print.mongo.oid() which allows print() to properly handle the mongo.oid class.

Value

The parameter is returned unchanged.

See Also

mongo.oid.print,
mongo.oid.to.string,
mongo.bson.oid,
mongo.bson.

Examples

1
2
3
4
5
6
oid <- mongo.oid.create()

# all display the same thing
print.mongo.oid(oid)
mongo.oid.print(oid)
print(oid)

jonkatz2/rmongodb documentation built on May 19, 2019, 7:30 p.m.