Expand description
PostgreSQL-compatible JSON scalar UDFs PostgreSQL-compatible JSON scalar UDFs (F-SCHEMA-011).
Implements:
- Extraction:
jsonb_get,jsonb_get_idx,jsonb_get_text,jsonb_get_text_idx,jsonb_get_path,jsonb_get_path_text - Existence:
jsonb_exists,jsonb_exists_any,jsonb_exists_all - Containment:
jsonb_contains,jsonb_contained_by - Interrogation:
json_typeof - Construction:
json_build_object,json_build_array,to_jsonb
Structs§
- Json
Build Array json_build_array(v1, v2, ...) -> jsonb- Json
Build Object json_build_object(key1, value1, key2, value2, ...) -> jsonb- Json
Typeof - Returns the outermost JSON type name by reading its tag byte.
- Jsonb
Contained By jsonb_contained_by(jsonb, jsonb) -> bool- Jsonb
Contains jsonb_contains(jsonb, jsonb) -> bool- Jsonb
Exists - Tests whether a JSONB object contains a key.
- Jsonb
Exists All jsonb_exists_all(jsonb, text[]) -> bool- Jsonb
Exists Any jsonb_exists_any(jsonb, text[]) -> bool- Jsonb
Get - Extracts a JSON object field by key, returning JSONB.
- Jsonb
GetIdx jsonb_get_idx(jsonb, int32) -> jsonb- Jsonb
GetPath jsonb_get_path(jsonb, text[]) -> jsonb- Jsonb
GetPath Text jsonb_get_path_text(jsonb, text[]) -> text- Jsonb
GetText jsonb_get_text(jsonb, text) -> text- Jsonb
GetText Idx jsonb_get_text_idx(jsonb, int32) -> text- ToJsonb
to_jsonb(value) -> jsonb
Functions§
- expand_
args - Expand all args to arrays of the same length.