In casbah I see the following function defined on a MongoCollection:
def
insert[A](docs: A*)(implicit dbObjView: (A) ⇒ commons.TypeImports.DBObject, concern: mongodb.WriteConcern = writeConcern, encoder: TypeImports.DBEncoder = ...): TypeImports.WriteResult
If I understand this right you can pass a number of DBObjects to this function for a bulk insert.
My concern/question is that this is a list of parameters. What if I have a huge bulk insert (say a couple hundred)? Is there a limit of object that can be passed this way?