json
jsonb_build_array
Constructs a jsonb array from heterogeneous SQL values in argument order.
Formal Syntax & Structure
sql syntaxsql
jsonb_build_array(value, ...)Working Example
Example Snippetsql
SELECT jsonb_build_array(7, true);Constructs a jsonb array from heterogeneous SQL values in argument order.
jsonb_build_array(value, ...)SELECT jsonb_build_array(7, true);