Package liquibase.ext.mongodb.statement
Class InsertManyStatement
java.lang.Object
liquibase.statement.AbstractSqlStatement
liquibase.nosql.statement.AbstractNoSqlStatement
liquibase.ext.mongodb.statement.AbstractMongoStatement
liquibase.ext.mongodb.statement.AbstractRunCommandStatement
liquibase.ext.mongodb.statement.InsertManyStatement
- All Implemented Interfaces:
NoSqlExecuteStatement<MongoLiquibaseDatabase>,liquibase.statement.SqlStatement
- Direct Known Subclasses:
InsertOneStatement
Inserts many documents via the database runCommand method
For a list of supported options see the reference page:
- See Also:
-
Field Summary
FieldsFields inherited from class liquibase.ext.mongodb.statement.AbstractRunCommandStatement
command, COMMAND_NAME, OK, SHELL_DB_PREFIX, WRITE_ERRORSFields inherited from interface liquibase.statement.SqlStatement
EMPTY_SQL_STATEMENT -
Constructor Summary
ConstructorsConstructorDescriptionInsertManyStatement(String collectionName, String documents, String options) InsertManyStatement(String collectionName, List<org.bson.Document> documents) InsertManyStatement(String collectionName, List<org.bson.Document> documents, org.bson.Document options) -
Method Summary
Modifier and TypeMethodDescriptionReturns the RunCommand command name.Methods inherited from class liquibase.ext.mongodb.statement.AbstractRunCommandStatement
checkResponse, execute, getCommandName, run, run, toJsMethods inherited from class liquibase.nosql.statement.AbstractNoSqlStatement
continueOnError, skipOnUnsupported, toStringMethods inherited from class liquibase.statement.AbstractSqlStatement
setContinueOnError
-
Field Details
-
RUN_COMMAND_NAME
- See Also:
-
DOCUMENTS
- See Also:
-
-
Constructor Details
-
InsertManyStatement
-
InsertManyStatement
-
InsertManyStatement
-
-
Method Details
-
getRunCommandName
Description copied from class:AbstractRunCommandStatementReturns the RunCommand command name.- Specified by:
getRunCommandNamein classAbstractRunCommandStatement- Returns:
- the run command as this is not used and not required for a generic RunCommandStatement
- See Also:
-