API Odata中的OR或IN操作符
示例代码:
https://services.odata.org/V3/Northwind/Northwind.svc/Products?$filter=CategoryID eq 1 or CategoryID eq 2
https://services.odata.org/V3/Northwind/Northwind.svc/Products?$filter=CategoryID in (1,2)
注意:OR和IN操作符均为$filter查询中的逻辑运算符,用于连接多个条件,返回符合任一条件的数据。