Collection named "PatternInfo" contains following documents:
1. { "pattern": "abcde*fgh"}
2. { "pattern": "test*new" }
3. { "pattern": "abc%^def" }
Whenever the following query is run to filter patterns containing '*' empty results is returned.
for doc in PatternInfo
filter like(doc.pattern, "%test*n%", false)
return doc
I have even tried escaping '*', although the ArangoDB documentation for LIKE specifies only '%' and '_' to be escaped.
Is something wrong with the query or ArangoDB itself?