1


I want to save 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

Swapnil Sonawane
  • 1,445
  • 3
  • 22
  • 37

1 Answers1

0

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.

Bas Bossink
  • 9,388
  • 4
  • 41
  • 53