selectByID method

FutureOr<O?> selectByID(
  1. dynamic id, {
  2. Transaction? transaction,
})

Implementation

FutureOr<O?> selectByID(dynamic id, {Transaction? transaction}) {
  return select(ConditionID(id)).resolveMapped((sel) {
    return sel.isNotEmpty ? sel.first : null;
  });
}