bind_mongolitedt: Bind Mongolitedt

Description Usage Arguments Value Methods

Description

Binds methods to a mongolite::mongo object. The data returned from the MongoDB query must be able to be coerced into a data.table.

Usage

1

Arguments

mongo

A mongolite::mongo connection object to which the methods are bound

Value

mongo The mongo object with additional methods

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


SymbolixAU/mongolitedt documentation built on May 9, 2019, 3:30 p.m.