Class MongoScriptRunner

java.lang.Object
org.evomaster.client.java.controller.mongo.MongoScriptRunner

public class MongoScriptRunner extends Object
Class used to execute Mongo commands
  • Constructor Details

    • MongoScriptRunner

      public MongoScriptRunner()
      Default constructor
  • Method Details

    • executeInsert

      public static MongoInsertionResultsDto executeInsert(Object connection, List<MongoInsertionDto> insertions)
      Execute the different Mongo insertions.
      Parameters:
      connection - a connection to the database (MongoClient)
      insertions - the Mongo insertions to execute
      Returns:
      a MongoInsertionResultsDto