Row functions#

Functions for the ROW data type.

ROW::fields(data) -> array(varchar)

Returns all the field names of the data ROW.

SELECT ROW::fields(row('hello' as greeting, 'world' as planet));
-- ['GREETING', 'PLANET']