doSelectSQL method
FutureOr<Iterable<Map<String, dynamic> > >
doSelectSQL(
- String entityName,
- String table,
- SQL sql,
- Transaction transaction,
- DBMySqlConnectionWrapper connection,
override
Implementation
@override
FutureOr<Iterable<Map<String, dynamic>>> doSelectSQL(
String entityName,
String table,
SQL sql,
Transaction transaction,
DBMySqlConnectionWrapper connection) {
if (sql.isDummy) return <Map<String, dynamic>>[];
return connection
.query(sql.sqlPositional, sql.parametersValuesByPosition)
.resolveMapped(_resultsToEntitiesMaps);
}