I want to search documents from the query console based on some property which is not null. Lets say this is the json documents i have.
{ "a1" : "1234", "a2" : "abc", "a3" : null, "a4" : "mno" }
{ "a1" : "1235", "a2" : "xyz", "a3" : "value", "a4" : "mno" }
I can query documents based on property like this
cts:search(fn:collection(), cts:json-property-value-query("a3","value"));
I am not able to use not equal logical operator with this query. Can anybody let me know, if i have to search documents based on property a3 which is not null then what has to be the query ?