Si entendí el manual correctamente, puede acceder a los campos JSON con -> y ->> operadores. La consulta se vería así:
SELECT *
FROM your_table
WHERE json_field ->> 'occupation' = 'football';
Si entendí el manual correctamente, puede acceder a los campos JSON con -> y ->> operadores. La consulta se vería así:
SELECT *
FROM your_table
WHERE json_field ->> 'occupation' = 'football';