diff --git a/src/collection/collection.ts b/src/collection/collection.ts index b1a57a75..2bd6db0b 100644 --- a/src/collection/collection.ts +++ b/src/collection/collection.ts @@ -146,6 +146,9 @@ export class Collection { return insertedIds[0]; } + /** + * @deprecated Use `insertOne, insertMany` or `bulkWrite` instead. + */ insert( docs: InsertDocument | InsertDocument[], options?: InsertOptions,