Repository navigation
How do I filter a query based on an expression instead of a field? #1329
|
I would like to filter a query like that: |
Replies: 7 comments
|
Hello Mike, |
|
You have to pass the var where = new FunctionalryQueryField(fieldName, operation, value, dbType, "REPLACE({0}, '-', '')");
connection.Query<Entity>(where); |
|
I will update to the last version and try it. Thank you. |
|
This worked fine! |
|
Cool, thanks for confirming. If you would you like to add the ReplaceQueryField to core, please creat a request ticket. I can do it for you later. You can also issue a PR if you have time. Thanks |


You have to pass the
Formatyour own on the FunctionalQueryField. Like below.