Filter for sql queries #20016
Unanswered
MikhnoRuslan
asked this question in
Ideas
Replies: 1 comment
-
hi This doesn't seem related to the abp framework. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone.
It will be nice to implement some generic method for filtering queries (and list for sure). Currently we can use WhenIf(). But we can add string fild into input and then parse value and make a filter.
for example: id
eq1andnameeqtestortest2anduserDetails.statusgt2 and so on. After parse we can get expression Where(like x => x.Id == 1 && x.Name == test || x.Name == test2 && x.UserDetail.Status > 2)Beta Was this translation helpful? Give feedback.
All reactions