tc/RMongo

Error when leaving out the skip parameter, and setting the limit parameter explictly

Opened this issue · 0 comments

When I leave out the skip parameter, and set the limit parameter explicitly (which is typical R code), like this:

 times <- dbGetQueryForKeys(db, "events", "{}","{_id: 0,time:1}",limit = 40000000)

I get the following error:

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘dbGetQueryForKeys’ for signature ‘"RMongo", 
  character", "character", "character", "missing", "numeric"’

I would also like to be able to run without having to set the limit parameter, and just fetch all records. Is that possible?