public class MongoScriptRunner extends Object
| Constructor and Description |
|---|
MongoScriptRunner()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
static MongoInsertionResultsDto |
executeInsert(Object connection,
List<MongoInsertionDto> insertions)
Execute the different Mongo insertions.
|
public static MongoInsertionResultsDto executeInsert(Object connection, List<MongoInsertionDto> insertions)
connection - a connection to the database (MongoClient)insertions - the Mongo insertions to executeCopyright © 2016–2023. All rights reserved.