public interface DbCallback<T>
MongoDatabase.| Modifier and Type | Method and Description |
|---|---|
T |
doInDB(com.mongodb.client.MongoDatabase db) |
@Nullable T doInDB(com.mongodb.client.MongoDatabase db) throws com.mongodb.MongoException, DataAccessException
db - must not be null.com.mongodb.MongoExceptionDataAccessExceptionCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.