...
Issues & decisions
# | Json Data | CPS-PATH Syntax | Output | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Below is the sample data , Here are ways to use contains keyword :
| <cps-path>(contains'[@leafname,'<string-value>']')
|
|
Native Query for contains keyword
...
Performance wise : As we are not making much changes for query , the performance is similar to existing query will not effect much
Implementation of Contains Operator
1.Update antlr parser to recognize this pattern
2.Implement required (native) query
3.Add db-container tests for
a.filter on string leaf-value
b.filter on Integer leaf-value
c.filter on leaf-list value
4.Update documentation
5.demo to team