nullIf method

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

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

Implementation

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