Wednesday, November 13, 2024

PostgreSQL json fields

select name->'es_PE',* from product_template where name->>'es_PE' like '%MEGACI%'

 

References:

[1] https://popsql.com/learn-sql/postgresql/how-to-query-a-json-column-in-postgresql

No comments:

OS Emulation on Ubuntu 20

    sudo apt update && sudo apt install qemu-system-x86   # Create a 1GB disk image   qemu-img create -f qcow2 win95.qcow2 1G qemu-i...