I have an object in the table column saved using JSON.stringify and it looks like this:
[{
"id": 1,
"uID": 10
}, {
"id": 2,
"uID": 10
}, {
"id": 3,
"uID": 94
}]
I need a query that will check if a given column contains values e.g.
- I want uID = 10 and id = 2 will return
- I want uID = 10 and id = 5 will not return it
- I want uID = 10 and id = 2, uID = 94 and id = 0 will not return it (because uID = 94 and id = 0 is not here)