jeroen / mongolite

Fast and Simple MongoDB Client for R

Home Page:https://jeroen.github.io/mongolite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

insertMany?

dmenne opened this issue · comments

I could not find the equivalent to insertMany for a file like this:

s = '[
   { item: "journal"},
   { item: "notebook}
]'

Workaround is to parse with jsonlite and iterate with insert, but maybe I missed something?

If you insert a list or dataframe object, it will automatically use insertmany