REVERSE

Returns an array with elements in reverse order.

Analyze Syntax

func.reverse([1, 2, 3])

Analyze Examples

func.reverse([1, 2, 3])

┌─────────┐
 [3,2,1] 
└─────────┘

SQL Syntax

REVERSE([1, 2, 3])

SQL Examples

SELECT ARRAY_REVERSE([1, 2, 3]);

┌─────────┐
 [3,2,1] 
└─────────┘