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
Modifier and TypeClassDescriptionstatic class
A builder used to build aSQLDeleteStatement
.static interface
Thetable
part of building aSQLDeleteStatement
static interface
TheWhere Statement
and building part of building aSQLDeleteStatement
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TableRef
Thetable
to delete fromprivate final Conditional
Thewhere statement
to use for what to delete -
Constructor Summary
ModifierConstructorDescriptionprivate
SQLDeleteStatement
(TableRef table, Conditional whereStatement) Constructs a new SQL Delete Statement with the given parameters -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLDeleteStatement.Table
builder()
getTable()
toString()
-
Field Details
-
table
Thetable
to delete from -
whereStatement
Thewhere statement
to use for what to delete
-
-
Constructor Details
-
SQLDeleteStatement
Constructs a new SQL Delete Statement with the given parameters- Parameters:
table
- Thetable
to delete fromwhereStatement
- Thewhere statement
to use for what to delete
-
-
Method Details
-
builder
- Returns:
- A new
builder
to build aSQLDeleteStatement
-
getTable
- Returns:
- The
table
to delete from
-
getWhereStatement
- Returns:
- The
where statement
to use for what to delete
-
toString
-