optional property

SqlSelection<T?> get optional

Decodes SQL NULL as null, typically for the right side of a LEFT JOIN.

Implementation

SqlSelection<T?> get optional => _SqlSelection<T?>._(
  _source,
  SqlColumn<T?>(_resultColumn.name, nullable(_resultColumn.codec)),
);