doSelectRelationship<R> method
FutureOr<R>
doSelectRelationship<R>(
- TransactionOperation op,
- String entityName,
- String table,
- String field,
- dynamic id,
- String otherTableName, [
- PreFinishDBOperation<
Iterable< ? preFinish,Map< , R>String, dynamic> >
override
Implementation
@override
FutureOr<R> doSelectRelationship<R>(
TransactionOperation op,
String entityName,
String table,
String field,
dynamic id,
String otherTableName,
[PreFinishDBOperation<Iterable<Map<String, dynamic>>, R>? preFinish]) {
return generateSelectRelationshipSQL(
op.transaction, entityName, table, field, id, otherTableName)
.resolveMapped((sql) {
return selectRelationshipSQL(
op, entityName, table, sql, id, otherTableName)
.resolveMapped((r) => _finishSQLOperation(sql, op, r, preFinish));
});
}