node-odata
node-odata copied to clipboard
Logical operators 'and' and 'or' is incorrect in $filter.
1. 'or' is not work
http://localhost:3000/book?$filter=price gt 30 or price lt 30
is same as
http://localhost:3000/book?$filter=price gt 30 and price lt 30
This is a mistake. It's should return something when use 'or' to query.
2. 'and' is not correct when $filter same field
http://localhost:3000/book?$filter=price eq 44.95 and price eq 36.95
This query will return 2 result both include 44.95 and 36.95.
请问现在支持 or 查询了吗
@sunhaolin 感谢关注,目前仍然没有支持 T_T