DB
FunctionsJSON

json_object_agg_unique

Builds a JSON object and keeps the first value seen for each key, ignoring later duplicates.

json_object_agg_unique(…) → JSON

Kind · aggregate

Builds a JSON object and keeps the first value seen for each key, ignoring later duplicates.

Part of the JSON family.