Class DeleteBuilder
java.lang.Object
io.github.projectunified.craftdatabase.client.sql.helper.DeleteBuilder
A builder for
DELETE queries-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the querystatic DeleteBuilderCreate a new builderAdd a condition, joined to the previous ones withAND
-
Method Details
-
create
Create a new builder- Parameters:
table- the table- Returns:
- the builder
-
where
Add a condition, joined to the previous ones withAND- Parameters:
condition- the condition, the?placeholders must match the valuesvalues- the values for the placeholders, omitted to provide them later in a batch- Returns:
- this builder for chaining
-
build
Build the query- Returns:
- the query
-