View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

UNEQUAL - Comparison

Checks if the given parameters do not have the same values.

Details

This function can also be written as infix notation <lhs> != <rhs>.

Input parameters

Name Type Optional Description
lhs String/Number/Bool/Object/Array False  
rhs String/Number/Bool/Object/Array False  

Output

Bool: True if the parameters doe not have the same values

Usage

UNEQUAL(<lhs>, <rhs>)

Examples

Example 1

Query

LOAD tmp
AS ('': UNEQUAL(true, true))

Result

false

Example 2

Query

LOAD tmp
AS ('': UNEQUAL(5, 2))

Result

true