Class: MongoClient

vertx-mongo-js/mongo_client~ MongoClient

new MongoClient()

Source:

Methods

bulkWrite(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Array.<Object>
arg2 function
Source:
Returns:
Type
MongoClient

bulkWriteWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Array.<Object>
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

close()

Source:

count(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

createCollection(arg0, arg1) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 function
Source:
Returns:
Type
MongoClient

createIndex(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

createIndexWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

distinct(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 string
arg2 string
arg3 function
Source:
Returns:
Type
MongoClient

distinctBatch(arg0, arg1, arg2) → {ReadStream}

Parameters:
Name Type Description
arg0 string
arg1 string
arg2 string
Source:
Returns:
Type
ReadStream

distinctBatchWithQuery(arg0, arg1, arg2, arg3, arg4) → {ReadStream}

Parameters:
Name Type Description
arg0 string
arg1 string
arg2 string
arg3 Object
arg4 number
Source:
Returns:
Type
ReadStream

distinctWithQuery(arg0, arg1, arg2, arg3, arg4) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 string
arg2 string
arg3 Object
arg4 function
Source:
Returns:
Type
MongoClient

dropCollection(arg0, arg1) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 function
Source:
Returns:
Type
MongoClient

dropIndex(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 string
arg2 function
Source:
Returns:
Type
MongoClient

find(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

findBatch(arg0, arg1) → {ReadStream}

Parameters:
Name Type Description
arg0 string
arg1 Object
Source:
Returns:
Type
ReadStream

findBatchWithOptions(arg0, arg1, arg2) → {ReadStream}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
Source:
Returns:
Type
ReadStream

findOne(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

findOneAndDelete(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

findOneAndDeleteWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

findOneAndReplace(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

findOneAndReplaceWithOptions(arg0, arg1, arg2, arg3, arg4, arg5) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 Object
arg4 Object
arg5 function
Source:
Returns:
Type
MongoClient

findOneAndUpdate(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

findOneAndUpdateWithOptions(arg0, arg1, arg2, arg3, arg4, arg5) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 Object
arg4 Object
arg5 function
Source:
Returns:
Type
MongoClient

findWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

getCollections(arg0) → {MongoClient}

Parameters:
Name Type Description
arg0 function
Source:
Returns:
Type
MongoClient

insert(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

insertWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

listIndexes(arg0, arg1) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 function
Source:
Returns:
Type
MongoClient

remove(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

removeDocument(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

removeDocuments(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

removeDocumentsWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

removeDocumentWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

removeOne(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

removeOneWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

removeWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

replace(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

replaceDocuments(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

replaceDocumentsWithOptions(arg0, arg1, arg2, arg3, arg4) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 Object
arg4 function
Source:
Returns:
Type
MongoClient

replaceWithOptions(arg0, arg1, arg2, arg3, arg4) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 Object
arg4 function
Source:
Returns:
Type
MongoClient

runCommand(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

save(arg0, arg1, arg2) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 function
Source:
Returns:
Type
MongoClient

saveWithOptions(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

update(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

updateCollection(arg0, arg1, arg2, arg3) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 function
Source:
Returns:
Type
MongoClient

updateCollectionWithOptions(arg0, arg1, arg2, arg3, arg4) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 Object
arg4 function
Source:
Returns:
Type
MongoClient

updateWithOptions(arg0, arg1, arg2, arg3, arg4) → {MongoClient}

Parameters:
Name Type Description
arg0 string
arg1 Object
arg2 Object
arg3 Object
arg4 function
Source:
Returns:
Type
MongoClient