I have the following jsonb structure:
{'this': '1', 'this_that': '0', 'this_and_that': '5'}
How do I select rows that contain a LIKE operator?
SELECT * FROM myjson WHERE j ? 'this_%'
Returns 0 rows...was hoping it would match 'this_that' and 'this_and_that'. (Note: the characters following '_' will potentially vary greatly and therefore I am not able to do an exact match).
select version()
– Staurolite