I have a table in my database that contains a column form which has JSONb datatype, and data most of the time is like this:
id = 1
form = [{'label': 'x1', 'value': True},
{'label': 'x2', 'value': 'v1'},
{'label': 'x3', 'value': 'c2'}];
id = 2
form = [{'label': 'x1', 'value': True},
{'label': 'x2', 'value': 'v21'},
{'label': 'x3', 'value': 'v22'}];
I want to know is that possible to search in that table to find rows that have text like c% in on elements in their form field? i.e. in the above case, I want to get entity with id =1;
It's not necessary to do that in sqlalchemy but if it's possible that is the preferred solution;