public interface CommInjectQuery
| 限定符和类型 | 方法和说明 |
|---|---|
long |
count(com.mongodb.client.ClientSession clientSession,
String collectionName)
获取总行数
|
long |
count(String collectionName)
获取总行数
|
List<Map<String,Object>> |
list(com.mongodb.client.ClientSession clientSession,
String collectionName)
获取列表 返回Map
|
List<Map<String,Object>> |
list(String collectionName)
获取列表 返回Map
|
PageResult<Map<String,Object>> |
page(com.mongodb.client.ClientSession clientSession,
String collectionName,
Integer pageNum,
Integer pageSize)
分页
|
PageResult<Map<String,Object>> |
page(com.mongodb.client.ClientSession clientSession,
String collectionName,
PageParam pageParam)
分页
|
PageResult<Map<String,Object>> |
page(String collectionName,
Integer pageNum,
Integer pageSize)
分页
|
PageResult<Map<String,Object>> |
page(String collectionName,
PageParam pageParam)
分页
|
List<Map<String,Object>> list(String collectionName)
collectionName - 集合名< Map > List<Map<String,Object>> list(com.mongodb.client.ClientSession clientSession, String collectionName)
collectionName - 集合名< Map > PageResult<Map<String,Object>> page(String collectionName, PageParam pageParam)
collectionName - 集合名pageParam - 分页参数对象< Map< String, Object>>PageResult<Map<String,Object>> page(com.mongodb.client.ClientSession clientSession, String collectionName, PageParam pageParam)
collectionName - 集合名pageParam - 分页参数对象< Map< String, Object>>PageResult<Map<String,Object>> page(String collectionName, Integer pageNum, Integer pageSize)
collectionName - 集合名pageNum - 当前页pageSize - 每页显示行数Map< String, Object>>PageResult<Map<String,Object>> page(com.mongodb.client.ClientSession clientSession, String collectionName, Integer pageNum, Integer pageSize)
collectionName - 集合名pageNum - 当前页pageSize - 每页显示行数Map< String, Object>>long count(String collectionName)
collectionName - 集合名longlong count(com.mongodb.client.ClientSession clientSession,
String collectionName)
collectionName - 集合名longCopyright © 2023. All rights reserved.