Description Usage Arguments Value Methods
Binds methods to a mongolite::mongo object. The data returned from the MongoDB query
must be able to be coerced into a data.table.
1 | bind_mongolitedt(mongo)
|
mongo |
A |
mongo The mongo object with additional methods
aggregatedt(pipeline = '{}', pagesize = 1000)Execute a pipeline using the Mongo aggregation framework. Will return all data as a single data.table
finddt(query = '{}', fields = '{"_id" : 0}', sort = '{}', skip = 0, limit = 0, pagesize = 1000)Retrieve fields from records matching query. Will return all data as a single data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.