public class MongoReadOpts extends Object
Build FindOptions for mongo database.
| Constructor and Description |
|---|
MongoReadOpts() |
| Modifier and Type | Method and Description |
|---|---|
static io.vertx.ext.mongo.FindOptions |
toAsc(String sortField)
JqTool all records by field Asc
|
static io.vertx.ext.mongo.FindOptions |
toAscLimit(String sortField,
int limit)
JqTool top n records by field ASC
|
static io.vertx.ext.mongo.FindOptions |
toDesc(String sortField)
JqTool all records by field Desc
|
static io.vertx.ext.mongo.FindOptions |
toDescLimit(String sortField,
int limit)
JqTool top n records by field DESC
|
static io.vertx.ext.mongo.FindOptions |
toFull(io.vertx.up.atom.query.Pager pager,
io.vertx.up.atom.query.Sorter sorter)
JqTool all records by pager/sorter both
|
public static io.vertx.ext.mongo.FindOptions toDescLimit(String sortField, int limit)
JqTool top n records by field DESC
sortField - limit - public static io.vertx.ext.mongo.FindOptions toAscLimit(String sortField, int limit)
JqTool top n records by field ASC
sortField - limit - public static io.vertx.ext.mongo.FindOptions toDesc(String sortField)
JqTool all records by field Desc
sortField - public static io.vertx.ext.mongo.FindOptions toAsc(String sortField)
JqTool all records by field Asc
sortField - public static io.vertx.ext.mongo.FindOptions toFull(io.vertx.up.atom.query.Pager pager, io.vertx.up.atom.query.Sorter sorter)
JqTool all records by pager/sorter both
pager - sorter - Copyright © 2021. All rights reserved.