We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a7fab commit 4bd0eadCopy full SHA for 4bd0ead
function/da/chronologybyid.sql
@@ -27,7 +27,7 @@ AS $function$
27
chr.ageboundolder AS AgeOlder,
28
chr.chronologyid AS ChronologyID,
29
chr.ageboundyounger AS AgeYounger,
30
- json_agg(DISTINCT json_build_object('DatasetType', dst.datasettype,
+ json_agg(DISTINCT jsonb_build_object('DatasetType', dst.datasettype,
31
'DatasetID', ds.datasetid)) AS datasets,
32
chr.notes AS Notes,
33
chr.dateprepared AS DatePrepared
0 commit comments