I need to obtain the record that is inside a table in which there is a JSON column in which one of its keys matches a given one.
SELECT json_object_keys("Localizacion") LIKE 'prop1'
FROM ejemplo "EstanciaHospitalaria"
Returns if in each record the key matches one or not, if it matches it returns t
and if it does not match it returns f
.
What I really want to show is all the information that is in the table record, in the code above it returns t
.