equalsColumn method

SqlPredicate equalsColumn(
  1. SqlTableColumn<T?> other
)

Creates a type-safe equality predicate between two columns.

Nullable and non-nullable columns with the same value type can be compared in either direction.

Implementation

SqlPredicate equalsColumn(SqlTableColumn<T?> other) =>
    _ColumnComparisonPredicate(
      this as SqlTableColumn<Object?>,
      _ComparisonOperator.equal,
      other as SqlTableColumn<Object?>,
    );