Modifier and Type | Method and Description |
---|---|
FindOptions |
FindOptions.setFields(io.vertx.core.json.JsonObject fields)
Set the fields
|
FindOptions |
FindOptions.setLimit(int limit)
Set the limit
|
FindOptions |
FindOptions.setSkip(int skip)
Set the skip
|
FindOptions |
FindOptions.setSort(io.vertx.core.json.JsonObject sort)
Set the sort document
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.findBatchWithOptions(String collection,
io.vertx.core.json.JsonObject query,
FindOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
io.vertx.core.json.JsonObject query,
FindOptions findOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
io.vertx.core.json.JsonObject query,
FindOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.core.json.JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
Constructor and Description |
---|
FindOptions(FindOptions options)
Copy constructor
|
Copyright © 2018. All rights reserved.