arangosh> var key = 'testKey'; arangosh> db._query(aqlQuery`FOR c IN mycollection FILTER c._key == ${key} RETURN c._key`).toArray(); [ "testKey" ]