1
0
Fork 0
arangodb/Documentation/Examples/02_workWithAQL_bindValues.g...

8 lines
197 B
Plaintext

arangosh> db._query('FOR c IN @@collection FILTER c._key == @key RETURN c._key', {
........> '@collection': 'mycollection',
........> 'key': 'testKey'
........> }).toArray();
[
"testKey"
]