Merge pull request #43 from realm/al/contains-test
Test contains can be used as a property name in the parser
This commit is contained in:
commit
062db0e95d
|
@ -49,6 +49,13 @@ static std::vector<std::string> valid_queries = {
|
|||
"0 contains 0",
|
||||
"0 BeGiNsWiTh 0",
|
||||
"0 ENDSWITH 0",
|
||||
"contains contains 'contains'",
|
||||
"beginswith beginswith 'beginswith'",
|
||||
"endswith endswith 'endswith'",
|
||||
"NOT NOT != 'NOT'",
|
||||
"AND == 'AND' AND OR == 'OR'",
|
||||
// FIXME - bug
|
||||
// "truepredicate == 'falsepredicate' && truepredicate",
|
||||
|
||||
// atoms/groups
|
||||
"(0=0)",
|
||||
|
|
Loading…
Reference in New Issue