You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"error": {
"code": "",
"message": "The operand for a binary operator 'NotEqual' is not a single value. Binary operators require both operands to be single values."
}
}
Hello,
I’m trying to use OData reference service with OData ‘any’ function and getting errors consistently.
These examples
http://services.odata.org/TripPinRESTierService/(S(3mslpb2bc0k5ufk24olpghzx))/People?$filter=AddressInfo/any(o:o/Address eq '87 Polk St. Suite 5')
http://services.odata.org/TripPinRESTierService/(S(3mslpb2bc0k5ufk24olpghzx))/People?$filter=Emails/any(o:o eq '[email protected]')
produce
I cannot check if the collection itself is null
http://services.odata.org/TripPinRESTierService/(S(3mslpb2bc0k5ufk24olpghzx))/People?$filter=Emails ne null
If I use the lamda query from the collection
http://services.odata.org/TripPinRESTierService/(S(3mslpb2bc0k5ufk24olpghzx))/Me/Friends?$filter=Friends/any(f:f/FirstName eq 'Scott')
it doesn’t return an error, however it doesn’t seem to work correctly since none of the results have string “Scott” in them
The text was updated successfully, but these errors were encountered: