开发者

mongo save save more than 1 records at ones

开发者 https://www.devze.com 2023-03-09 05:36 出处:网络
I want to 开发者_StackOverflowsave more than 1 records at one time that means save block of records.

I want to 开发者_StackOverflowsave more than 1 records at one time that means save block of records.

Is it possible in mongoDB. if yes plz some one tell.

Thanks


The java driver's DBCollection supports insert with a List<DBObject> parameter this should be usable from scala as well.

Edit

Cabash also supports a similar insert method that should do the trick.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号