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

REVERSE

This page describes the REVERSE function in Lenses SQL.

REVERSE(expr)

Reverses the order of the elements in the input.

Available in:

Processors
SQL Studio

Sample code:

USE `kafka`;
SELECT 
    REVERSE(status), 
    status 
FROM users-topic
LIMIT 1;

Output:

{
  "value": {
    "REVERSE": "deifirevnu",
    "status": "unverified"
  }
}

Last updated

Was this helpful?