nullIf method

Expression<T> nullIf(
  1. Expression<T> matcher
)

Returns null if matcher is equal to this expression, this otherwise.

Implementation

Expression<T> nullIf(Expression<T> matcher) {
  return FunctionCallExpression('NULLIF', [this, matcher]);
}