We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a40a590 commit 2e46d82Copy full SHA for 2e46d82
README.md
@@ -114,8 +114,8 @@ var db = new Database();
114
var pokemons = db.collection("pokemons");
115
116
db.query({
117
- query: "FOR p IN @@c FILTER p.type === 'fire' RETURN p",
118
- bindVars: { c: pokemons },
+ query: "FOR p IN @@c FILTER p.type == 'fire' RETURN p",
+ bindVars: { "@c": "pokemons" },
119
})
120
.then(function (cursor) {
121
console.log("My pokemons, let me show you them:");
0 commit comments