Below JSON is one of the column of type JSONB in my table 'logic', I want to query to check how many rows are there with type
: QUESTION
(any entry within conditions
).
{
"name": null,
"conditions": [
{
"type": "QUESTION",
"question": {
}
},
{
"type": "QUESTION",
"question": {
}
},
{
"type": "FIELD",
"question": {
}
}
],
"expression": "A"
}