ZEXSM / OData.QueryBuilder

OData.QueryBuilder - library for creating complex OData queries (OData version 4.01) based on data models with linq syntax.
MIT License
71 stars 31 forks source link

Failed to check if contains item toUpper #109

Open pedro-emanoeltech opened 1 year ago

pedro-emanoeltech commented 1 year ago

I have a problem, I need to check if the name exists using 'Contains' but I need to pass ToUpper or ToLower to ignore the case sensitive, I'm getting a failure saying it's not supported, any alternatives?

CODE: tipe

ERROR: falha

If I do the query manually by 'Postman' directly in the API it works perfectly using: contains(tolower(Nome) ,tolower('JOSE'))

help

pedro-emanoeltech commented 1 year ago

I was able to solve it by passing the conversation outside of Odata, leaving only the ToLower in the property Screenshot_2