MongoDatabase - Actual MongoDatabase typeR - Operation result type@FunctionalInterface public interface MongoDatabaseOperation<MongoDatabase,R>
MongoDatabase.| Modifier and Type | Method and Description |
|---|---|
R |
execute(MongoDatabase database)
Execute an operation using the provided MongoDatabase an return a result.
|
R execute(MongoDatabase database) throws Exception
database - The MongoDatabase referenceException - If an error occurredCopyright © 2019 The Holon Platform. All rights reserved.