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?
When I leave out the skip parameter, and set the limit parameter explicitly (which is typical R code), like this:
I get the following error:
I would also like to be able to run without having to set the limit parameter, and just fetch all records. Is that possible?