Collects all the key/value pairs into a JSON object.
Signatures & examples
jsonb_object_agg_strict ( key "any", value "any" ) → jsonb
Collects all the key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per to_json or to_jsonb. The key can not be null. If the value is null then the entry is skipped,Version history 2