我需要使用Odata中的多个嵌套条件来过滤json对象的列表。
需要使用odata查询从task_type为'XYZ_TASK_TYPE'和事件ID为'abc_event_id'的列表中过滤所有用户。
{
…
…
},
{
"user_id": "0e0840b3-c383-3118-9654-36867c4ba5c5",
"status": "FAILED",
"sub_status": “XYZ_TASK”,
"task_type": “XYZ_TASK_TYPE”,
"params": {
"event": {
“event_id”: "abc_event_id",
"property_value": true,
"user_org_type": "CUSTOMER"
},
“IsOperationSuccess”: true,
"triggerNewActionOrRetry": true,
},
"org_type": "CUSTOMER",
"created_build_number": 0,
"correlation_id": null,
"receiver_ids": [],
"phase_in_progress": "",
},
{
…
…
}```
I am new to Odata. There is only $filter available as system query option. Data is stored in MariaDB as json.