Skip to main content

Module jsonb

Module jsonb 

Source
Expand description

JSONB support

Modules§

array_elements
expand array into value rows
array_length
array length
cast
type conversions
each
expand object into key-value rows
extract
shared JSONB extraction helpers (used by each/array_elements and list_udfs) Shared JSONB extraction helpers, used by both the jsonb_each / jsonb_array_elements UDTFs and the list-returning scalar UDFs (jsonb_entries, jsonb_elements, jsonb_path_elements).
format_json
jsonb->json
get
get by name
keys
extract object keys
list_udfs
list-returning scalar UDFs: jsonb_entries, jsonb_elements, jsonb_path_elements List-returning JSONB scalar UDFs: jsonb_entries, jsonb_elements, jsonb_path_elements.
parse
jsonb_parse
path_query
JSONPath query

Structs§

JsonbArrayLength
A scalar UDF that returns the number of elements in a JSONB array.
JsonbAsF64
A scalar UDF that casts a JSONB value to a f64.
JsonbAsI64
A scalar UDF that casts a JSONB value to an i64.
JsonbAsString
A scalar UDF that casts a JSONB value to a string.
JsonbElements
A scalar UDF that expands a JSONB array into a list of its elements.
JsonbEntries
A scalar UDF that expands a JSONB object or array into a list of {key, value} entries.
JsonbFormatJson
A scalar UDF that formats JSONB binary data as a JSON string.
JsonbGet
A scalar UDF that retrieves a value from a JSONB object by name.
JsonbObjectKeys
A scalar UDF that extracts the keys from a JSONB object.
JsonbParse
A scalar UDF that parses a JSON string into a JSONB value.
JsonbPathElements
A scalar UDF that expands all matches of a JSONPath expression on a JSONB value into a list.
JsonbPathQuery
A scalar UDF that returns all matches of a JSONPath expression on a JSONB value as a JSONB array.
JsonbPathQueryFirst
A scalar UDF that returns the first match of a JSONPath expression on a JSONB value.