Class FindOneAndUpdateStatement

All Implemented Interfaces:
NoSqlExecuteStatement<MongoLiquibaseDatabase>, NoSqlUpdateStatement<MongoLiquibaseDatabase>, liquibase.statement.SqlStatement

public class FindOneAndUpdateStatement extends AbstractRunCommandStatement implements NoSqlUpdateStatement<MongoLiquibaseDatabase>
Finds and updates a single document via the database runCommand method NOTE: This does not return the original document, instead returns 1 if a document was updated, else 0

For a list of supported options see the reference page:

See Also: