Description Usage Arguments Details Value See Also Examples
Display formatted output of a mongo.bson object.
1 2 |
x |
(mongo.bson The object to display. |
... |
Parameters passed from generic. |
Output is tabbed (indented to show the nesting level of subobjects and arrays).
This version is an alias of mongo.bson.print() so that print() will properly handle the mongo.bson class.
The parameter is returned unchanged.
mongo.bson.print
,
mongo.bson.
1 2 3 4 5 6 7 8 9 | buf <- mongo.bson.buffer.create()
mongo.bson.buffer.append(buf, "name", "Fred")
mongo.bson.buffer.append(buf, "city", "Dayton")
b <- mongo.bson.from.buffer(buf)
# all display the same thing
print.mongo.bson(b)
mongo.bson.print(b)
print(b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.