Change query output to varchar instead of jsonb

This commit is contained in:
Enrique Barcelli 2021-12-08 22:02:40 +08:00
parent b2a42659b9
commit 26faf4a2ed

View file

@ -61,7 +61,7 @@ ad_client.name ='BLB'
--/* --/*
select select
jsonb_build_object( (jsonb_build_object(
'cabecera', jsonb_agg(DISTINCT 'cabecera', jsonb_agg(DISTINCT
jsonb_build_object( jsonb_build_object(
'ivoiceid',c_invoice_id, 'ivoiceid',c_invoice_id,
@ -212,6 +212,7 @@ select
) )
)->0 )->0
) )
)::varchar
--*/ --*/