Otis wrote:
That's correct, as it's not a trivial problem, but a very complicated one, hence our querysystem without strings.
Yes indeed everything related to query parsing is always complicated
Otis wrote:
Why do you need to formulate the query in string form while there are several query systems available to you without the problems related to string based queries?
I need a system to configure a number of categories, and in each categories configure which items will be defined for this categories.
As example, I can take your inbox: you have some categories (Today, Yesterday, This week) and i.e. for the "Today" category the query string will be "ReceiveDate='2015-02-27'". (I know in this sample there is also the complexity of setting the correct current date, but it's not the discussion here
)
The goal is to allow our application to handle any categories, which will be defined by the customer, allowing to filter on all available fields
Otis wrote:
That system is very limited, it does some rudimentary conversion, but will give up rather quickly if things get more complicated.
I don't really needs complicated stuff, basic operations are enought