doDeleteSQL method
FutureOr<Iterable<Map<String, dynamic> > >
doDeleteSQL(
- String entityName,
- String table,
- SQL sql,
- Transaction transaction,
- DBMySqlConnectionWrapper connection,
override
Implementation
@override
FutureOr<Iterable<Map<String, dynamic>>> doDeleteSQL(
String entityName,
String table,
SQL sql,
Transaction transaction,
DBMySqlConnectionWrapper connection) {
if (sql.isFullyDummy) return <Map<String, dynamic>>[];
var preSQLs = sql.preSQL;
if (preSQLs != null) {
return _executeSQLs(preSQLs, connection)
.resolveWith(() => _doDeleteSQLImpl(table, sql, connection));
} else {
return _doDeleteSQLImpl(table, sql, connection);
}
}