Change query output to varchar instead of jsonb
This commit is contained in:
parent
b2a42659b9
commit
26faf4a2ed
|
@ -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
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue