print.mongo.oid: 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
2
## S3 method for class 'mongo.oid'
print(x, ...)

Arguments

x

mongo.oid The object to display.

...

Parameters passed from generic.

Details

Output is tabbed (indented to show the nesting level of subobjects and arrays).

This version is an alias of mongo.oid.print() so that print() will 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.