doSelectByID<R> method

  1. @override
FutureOr<R?> doSelectByID<R>(
  1. TransactionOperation op,
  2. String entityName,
  3. String table,
  4. Object id, {
  5. PreFinishDBOperation<Map<String, dynamic>?, R?>? preFinish,
})
override

Implementation

@override
FutureOr<R?> doSelectByID<R>(
        TransactionOperation op, String entityName, String table, Object id,
        {PreFinishDBOperation<Map<String, dynamic>?, R?>? preFinish}) =>
    executeTransactionOperation<R?>(
        op,
        (conn) => _doSelectByIDImpl<R>(table, id, entityName)
            .resolveMapped((res) => _finishOperation(op, res, preFinish)));