Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

MOD

This page describes the MOD function in Lenses SQL.

MOD(numExpr, numExpr)

Alias for %.

Available in:

Processors
SQL Studio

✓

✓

Sample code:

USE `kafka`;
SELECT MOD(integer, 2) 
FROM numbers-data
LIMIT 1;

Output:

{
  "value": {
    "MOD": 0
  }
}

Last updated

Was this helpful?