...
Native query for Contains Operator using Like Keyword :
# | Issue | Notes | Decisions | ||||||
---|---|---|---|---|---|---|---|---|---|
1 | Which keyword to use ? Do we want case sensitivity or not? Do we follow the Xpath contains or do we become specific? |
cpsdb=# SELECT * FROM FRAGMENT WHERE anchor_id = 4 and attributes->>'lang' ilike '%En%'; Query Response : Code Block |
| As per discussion , with Toine Siebelink Prefers Contains Xpath is case sensitive , So ilike keyword would be suitable to implement the contains query which support case sensitive attribute values. Need to discuss with stakeholders. |
...