1
0
Fork 0
arangodb/Documentation/Examples/02_workWithAQL_aqlQuery.gen...

6 lines
322 B
Plaintext

arangosh&gt; <span class="hljs-keyword">var</span> key = <span class="hljs-string">'testKey'</span>;
arangosh&gt; db._query(aqlQuery<span class="hljs-string">`FOR c IN mycollection FILTER c._key == <span class="hljs-subst">${key}</span> RETURN c._key`</span>).toArray();
[
<span class="hljs-string">"testKey"</span>
]