| Package | Description |
|---|---|
| us.jakeabel.mpa.core |
| Modifier and Type | Method and Description |
|---|---|
static <T extends DBModel> |
BaseRepo.createBaseRepo(Class<T> clazz,
String dbName) |
static <T extends DBModel> |
BaseRepo.createBaseRepo(Class<T> clazz,
String host,
int port,
String dbName) |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.client.result.DeleteResult |
BaseConnection.delete(DBModel obj) |
com.mongodb.client.result.UpdateResult |
BaseConnection.update(DBModel obj) |
| Modifier and Type | Method and Description |
|---|---|
long |
BaseConnection.count(Class<? extends DBModel> clazz) |
com.mongodb.client.result.DeleteResult |
BaseConnection.delete(String id,
Class<? extends DBModel> clazz) |
Copyright © 2016. All rights reserved.