Home > Q&A > body text
Using foreach is a bit difficult. Is there any official way to batch insert?
滿天的星座2017-05-02 09:27:41
Check out this question and answer on Stackoverflow to see if it is the answer you are looking for: Bulk insert in MongoDB using mongoose