chroma/lexers/testdata/aql/queries.actual
2025-03-22 20:46:00 +13:00

12 lines
477 B
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FOR doc IN @@coll
FILTER doc.value >= @val && doc["value"] < COUNT ([.1, FALSE])
COLLECT ´v a l´ /* legal! */ = doc.value WITH COUNT INTO count // blarg
RETURN MERGE(doc, { [CONCAT("new", 0.125)]: true } )
LET arr = [[1,2],3,[0]]
RETURN arr[** FILTER CURRENT % 2 == 0 RETURN CURRENT||null]
FOR v,e,p IN 2..4 OUTBOUND "components/S" GRAPH "g"
PRUNE e != null AND p.edges[-1].text =~ @AND
OPTIONS { vertexCollections: ['components'] }
RETURN v.´sort´ ?: 0xBEEF