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, org.springframework.dao.DataAccessException
db - must not be null.com.mongodb.MongoExceptionorg.springframework.dao.DataAccessExceptionCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.