org.fluentjdbc.DbBulkDeleteContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-jdbc Show documentation
Show all versions of fluent-jdbc Show documentation
A Java library used to execute JDBC statements and build SQL
package org.fluentjdbc;
import java.util.function.Function;
public class DbBulkDeleteContext implements DatabaseBulkQueriable> {
private final DbTableContext tableContext;
private final DatabaseBulkDeleteBuilder builder;
public DbBulkDeleteContext(DbTableContext tableContext, DatabaseBulkDeleteBuilder builder) {
this.tableContext = tableContext;
this.builder = builder;
}
@Override
public DbBulkDeleteContext where(String field, Function value) {
return build(builder.where(field, value));
}
private DbBulkDeleteContext build(DatabaseBulkDeleteBuilder builder) {
return this;
}
public int execute() {
return builder.execute(tableContext.getConnection());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy