DeleteStatement<Row extends Object, RS extends GeneratedTable<Row, RS> > class
final
A DELETE statement in SQL.
- Inheritance
-
- Object
- SqlStatement
- DeleteStatement
Constructors
-
DeleteStatement(DatabaseConnectionUser _database, GeneratedTable<
Row, RS> resultSet) - This constructor should be called by DatabaseConnectionUser.delete for you.
Properties
-
dialectSpecificOptions
→ Map<
Symbol, Object?> -
A map of dialect-specific options.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
resultSet
→ GeneratedTable<
Row, RS> -
The table from which rows should be deleted.
final
- returning ↔ ReturningClause?
-
An optional
RETURNINGclause part of this statement.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- whereClause ↔ WhereClause?
-
The WhereClause filtering rows for this statement.
getter/setter pairinherited
Methods
-
asSelf(
) → DeleteStatement< Row, RS> -
Returns
thisasSelf. -
compileWith(
StatementCompiler compiler) → void -
Compiles this component with the given StatementCompiler by invoking the
relevant
addmethod on it.override -
delete(
Insertable< Row> entity) → Future<int> -
Deletes just this entity. May not be used together with
where. -
deleteReturning(
Insertable< Row> entity) → Future<Row?> - Like delete, but returns the deleted row from the database.
-
go(
) → Future< int> -
Deletes all rows matched by the set
whereclause and the optional limit. -
goAndReturn(
) → Future< List< Row> > - Like go, but it also returns all rows affected by this delete operation.
-
goAndReturnOnly(
List< Expression< expressions) → Future<Object> >List< DriftRow> > -
Like go, but it also returns
expressionsof all rows affected by this delete operation. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
where(
Expression< bool> filter(RS tbl)) → DeleteStatement<Row, RS> -
Makes this statement only include rows that match the
filter.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited