Skip to main content
Module

x/typeorm/src/index.ts>MongoRepository#insertMany

Forked from https://github.com/typeorm/typeorm
Latest
method MongoRepository.prototype.insertMany
Re-export
import { MongoRepository } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Inserts an array of documents into MongoDB.

Parameters

docs: ObjectLiteral[]
optional
options: CollectionInsertManyOptions

Returns

Promise<InsertWriteOpResult>