I've been using the package for a while with MongoDB and never had any issue. Today, I tried it on Azure Cosmos DB. Whilst I could connect to the collection and use the insert method easily, the find method kept returning an empty dataframe, till I realised that I had to change limit from its default of 0. con$find() always returns the full collection when used with MongoDB, whereas you need to set the limit at a number higher than the number of documents with Azure Cosmos DB. Am I missing something obvious? Thank you in advance.
I've been using the package for a while with MongoDB and never had any issue. Today, I tried it on Azure Cosmos DB. Whilst I could connect to the collection and use the insert method easily, the find method kept returning an empty dataframe, till I realised that I had to change
limit
from its default of 0.con$find()
always returns the full collection when used with MongoDB, whereas you need to set the limit at a number higher than the number of documents with Azure Cosmos DB. Am I missing something obvious? Thank you in advance.