Skip to content

Commit

Permalink
inital tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorland committed Sep 18, 2023
1 parent 7ecdb90 commit 3a23997
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,32 @@ The exact method for doing that depends on your client of choice.
This code snippet shows how to use FalkorDB with raw Redis commands from Python using
[redis-py](https://github.com/redis/redis-py):

{% tabs log %}

{% tab log python %}

```python
import redis

r = redis.Redis()
reply = r.graph("social").query("MATCH (r:Rider)-[:rides]->(t:Team {name:'Ducati'}) RETURN count(r)")
```

{% endtab %}

{% tab log node %}

```javascript
import redis

r = redis.Redis()
reply = r.graph("social").query("MATCH (r:Rider)-[:rides]->(t:Team {name:'Ducati'}) RETURN count(r)")
```

{% endtab %}

{% endtabs %}

## Client libraries

Language-specific clients have been written by the community and the FalkorDB team for 6 languages.
Expand Down

0 comments on commit 3a23997

Please sign in to comment.