Skip to content

Commit bd2bc20

Browse files
committed
Fix bug in documentation example
Fixes #715.
1 parent 23336a8 commit bd2bc20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ Modern JavaScript/TypeScript with async/await:
6969
const { Database, aql } = require("arangojs");
7070

7171
const db = new Database();
72-
const pokemons = db.collection("my-pokemons");
72+
const Pokemons = db.collection("my-pokemons");
7373

7474
async function main() {
7575
try {
7676
const pokemons = await db.query(aql`
77-
FOR pokemon IN ${pokemons}
77+
FOR pokemon IN ${Pokemons}
7878
FILTER pokemon.type == "fire"
7979
RETURN pokemon
8080
`);

0 commit comments

Comments
 (0)