I have a Wcf data service (it uses the OData protocol), and using this query, I want all countries whose stars have "Ca", and this works:
http: //localhost/TestService/Data.svc/Countries ? $ filter = startswith (Name, ' Ca ') eq true
But I can not get it to work with the following query:
http: //localhost/TestService/Data.svc/Countries ? $ filter = startswith (Name, ' ca ') eq true
This is an automatic service for countries, and I do not consider it case sensitive. Any ideas?
You can use tolower (or toupper), for example: / Countries? $ = Filter StartsWith (ToLower (name), ToLower ('Ca'))
Source: https://habr.com/ru/post/901119/More articles:PHP function error - functionhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/901115/using-keypoints-to-compute-object-similarities&usg=ALkJrhh0FZL94hCOyrrLT98UtHTCCDZFqwAvoiding attribute copies with karma generators - c ++Request Payload Access in Spring MVC Controller? - spring-mvcWhat's the best way to add / remove a specific item from a list in a multi-threaded script - c #How to use the "right" element? - htmlHow to convert SoapFault to SoapMessage through Interceptor in CXF? - javaUITextInput setMarkedText: selectedRange not working? (It can't be!) - objective-cHaskell parses large XML file with low memory - xmlGHCi Reset - haskellAll Articles