Skip to main content

NULLIF

Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

NULLIF checks if two values are the same and return null or the first expression otherwise.

Syntax
NULLIF(<expression1>, <expression2>)
Example
NULLIF(4,4) // NULL
NULLIF(5,7) // 5