Class SQLDeleteStatement
java.lang.Object
com.github.tadukoo.database.mysql.syntax.statement.SQLDeleteStatement
SQLDeleteStatement represents a delete statement in MySQL
- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder used to build aSQLDeleteStatement.static interfaceThetablepart of building aSQLDeleteStatementstatic interfaceTheWhere Statementand building part of building aSQLDeleteStatement -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TableRefThetableto delete fromprivate final ConditionalThewhere statementto use for what to delete -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSQLDeleteStatement(TableRef table, Conditional whereStatement) Constructs a new SQL Delete Statement with the given parameters -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLDeleteStatement.Tablebuilder()getTable()toString()
-
Field Details
-
table
Thetableto delete from -
whereStatement
Thewhere statementto use for what to delete
-
-
Constructor Details
-
SQLDeleteStatement
Constructs a new SQL Delete Statement with the given parameters- Parameters:
table- Thetableto delete fromwhereStatement- Thewhere statementto use for what to delete
-
-
Method Details
-
builder
- Returns:
- A new
builderto build aSQLDeleteStatement
-
getTable
- Returns:
- The
tableto delete from
-
getWhereStatement
- Returns:
- The
where statementto use for what to delete
-
toString
-