equalsUnlessNull method

Expr<bool?> equalsUnlessNull(
  1. Expr<String?> 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<String?> value) =>
    ExpressionEquals(this, value);