Description Usage Arguments Details Value See Also Examples
Display formatted output of a mongo.bson object.
1 | mongo.bson.print(x, ...)
|
x |
(mongo.bson) The mongo.bson object to display. |
... |
Parameters passed from generic. |
Output is tabbed (indented to show the nesting level of subobjects and arrays).
The parameter is returned unchanged.
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
mongo.bson.print(b)
print.mongo.bson(b)
print(b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.