insertMany

Inserts a set of documents.

static if(isWeb)
void
insertMany
(
T
)
(
string collection
,)

Parameters

collection string

The mongo db collection.

documents T[]

The documents to insert.

Meta