Skip to content

Commit 5a39558

Browse files
maxkernbachsleto-it
authored andcommitted
Doc - fix typo - db.query (#586)
1 parent 529f7fb commit 5a39558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Drivers/JS/Reference/Cursor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ remaining result list.
3131
**Examples**
3232

3333
```js
34-
const cursor = await db._query('FOR x IN 1..5 RETURN x');
34+
const cursor = await db.query('FOR x IN 1..5 RETURN x');
3535
const result = await cursor.all()
3636
// result is an array containing the entire query result
3737
assert.deepEqual(result, [1, 2, 3, 4, 5]);

0 commit comments

Comments
 (0)