mongo.shorthand: Define shorthand for BSON and GridFS

Description Usage Details Value See Also Examples

View source: R/shorthand.R

Description

Define shorthand names for BSON and GridFS functions and constants.

Usage

1

Details

All symbols dealing with BSON and GridFS are defined by this function excluding the "mongo." prefix. They will still be available by the orginal names also. For clarity, the symbols in the mongo module (for communication with the server) are not shortened.

Value

TRUE

See Also

mongo.bson,
mongo.gridfs,
mongo.bson.buffer.create,
mongo.bson.buffer.append,
mongo.bson.from.buffer.

Examples

1
2
3
4
mongo.shorthand()
buf <- bson.buffer.create()
bson.buffer.append(buf, "name", "Alice")
b <- bson.from.buffer(buf)

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