1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Update README.md

This commit is contained in:
Leibale Eidelman
2022-11-01 15:54:29 -04:00
committed by GitHub
parent be90e62360
commit 597112bf29

View File

@@ -24,8 +24,10 @@ await graph.query(
const result = await graph.roQuery(
'MATCH (r:Rider)-[:rides]->(t:Team { name: $name }) RETURN r.name AS name',
{
params: {
name: 'Apollo'
}
}
);
console.log(result.data); // [{ name: 'Buzz Aldrin' }]