I use this query:
JSON_ARRAYAGG(JSON_OBJECT("id",pd.id_pedido_detalle,"cantidad",pd.cantidad,"precio",pd.precio_pedido))
This gives me the following result:
[{id: 991, cantidad: 1, precio: 10}, {id: 992, cantidad: 1, precio: 20}]
I try...
asked by
26.12.2018 / 19:51