jsonb_object_agg_unique_strict ( key "any", value "any" ) → jsonbCollects 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. If there is a duplicate key an error is thrown.