mongo-baseops
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"name": "mongo-baseops", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "mongo db database baseops", | ||
@@ -5,0 +5,0 @@ "main": "build/index", |
@@ -75,3 +75,2 @@ | ||
async writeOne(doc: mongodb.OptionalId<mongodb.BSON.Document>, options?: mongodb.InsertOneOptions) { | ||
console.log({doc}) | ||
const writeResults = await (await this.getCollection()).insertOne(doc, options); | ||
@@ -78,0 +77,0 @@ |
4866202
543