Module jsonb_record

Source

Statics§

_LINKME_ELEMENT_jsonb_populate_map_anymap_jsonb_anymap πŸ”’
_LINKME_ELEMENT_jsonb_populate_record_struct_jsonb_struct πŸ”’
_LINKME_ELEMENT_jsonb_populate_recordset_struct_jsonb_struct πŸ”’
_LINKME_ELEMENT_jsonb_to_record_jsonb_struct πŸ”’
_LINKME_ELEMENT_jsonb_to_recordset_jsonb_struct πŸ”’

Functions§

jsonb_populate_map
jsonb_populate_map_anymap_jsonb_anymap πŸ”’
jsonb_populate_record πŸ”’
Expands the top-level JSON object to a row having the composite type of the base argument. The JSON object is scanned for fields whose names match column names of the output row type, and their values are inserted into those columns of the output. (Fields that do not correspond to any output column name are ignored.) In typical use, the value of base is just NULL, which means that any output columns that do not match any object field will be filled with nulls. However, if base isn’t NULL then the values it contains will be used for unmatched columns.
jsonb_populate_record_struct_jsonb_struct πŸ”’
jsonb_populate_recordset πŸ”’
Expands the top-level JSON array of objects to a set of rows having the composite type of the base argument. Each element of the JSON array is processed as described above for jsonb_populate_record.
jsonb_populate_recordset_struct_jsonb_struct πŸ”’
jsonb_to_record πŸ”’
Expands the top-level JSON object to a row having the composite type defined by an AS clause. The output record is filled from fields of the JSON object, in the same way as described above for jsonb_populate_record. Since there is no input record value, unmatched columns are always filled with nulls.
jsonb_to_record_jsonb_struct πŸ”’
jsonb_to_recordset πŸ”’
Expands the top-level JSON array of objects to a set of rows having the composite type defined by an AS clause. Each element of the JSON array is processed as described above for jsonb_populate_record.
jsonb_to_recordset_jsonb_struct πŸ”’
parse_err πŸ”’
Construct a parse error from String.