mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Correct insertOne method
This commit is contained in:
1 parent
db52e392fa
commit
1957c7eb73
1 file changed
+1
-1
Vendored
+1
-1
@@ -304,7 +304,7 @@ declare module "mongodb" {
|
||||
insert(query: any, options: { safe?: any; continueOnError?: boolean; keepGoing?: boolean; serializeFunctions?: boolean; }, callback: (err: Error, result: any) => void): void;
|
||||
|
||||
// Documentation : http://mongodb.github.io/node-mongodb-native/2.0/api/Collection.html#insertOne
|
||||
inserOne(doc:any, callback: (err: Error, result: any) => void) :void;
|
||||
insertOne(doc:any, callback: (err: Error, result: any) => void) :void;
|
||||
insertOne(doc: any, options: { w?: any; wtimeout?: number; j?: boolean; serializeFunctions?: boolean; forceServerObjectId?: boolean }, callback: (err: Error, result: any) => void): void;
|
||||
|
||||
// Documentation : http://mongodb.github.io/node-mongodb-native/2.0/api/Collection.html#insertMany
|
||||
|
||||
Reference in new issue
Block a user