Type Alias AnyBulkWriteOperation<TSchema>

AnyBulkWriteOperation<TSchema>:
    | {
        insertOne: InsertOneModel<TSchema>;
    }
    | {
        replaceOne: ReplaceOneModel<TSchema>;
    }
    | {
        updateOne: UpdateOneModel<TSchema>;
    }
    | {
        updateMany: UpdateManyModel<TSchema>;
    }
    | {
        deleteOne: DeleteOneModel<TSchema>;
    }
    | {
        deleteMany: DeleteManyModel<TSchema>;
    }

Type Parameters