mongo.bson.destroy: Destroy a mongo.bson object

Description Usage Arguments See Also Examples

View source: R/bson.R

Description

Releases the resources associated with a mongo.bson object. It is not absolutely necessary to call this function since R's garbage collection will eventually get around to doing it for you.

Usage

1

Arguments

b

A (mongo.bson) object.

See Also

mongo.bson,
mongo.bson.from.list,
mongo.bson.from.buffer.

Examples

1
2
3
b <- mongo.bson.from.list(list(name="Cheryl", age=29))
print(b)
mongo.bson.destroy(b)

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