equalsUnlessNull method

Expr<bool?> equalsUnlessNull(
  1. Expr<T?> value
)

Compare this expression to value using =.

This is equivalent to this = value in SQL, which if one of them is NULL will return NULL.

Use isNotDistinctFrom if you wish to compare expressions in a manner where NULL is considered equal to NULL.

Implementation

Expr<bool?> equalsUnlessNull(Expr<T?> value) => ExpressionEquals(this, value);