Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Querying RedisGraph data during API calls
"WITH $ids as ids MATCH (e:entity)-[r]->(t:entity) where (e.id in ids) and (r.year in $years) RETURN DISTINCT e.id, t.id, max(r.rank), r.year ORDER BY r.rank DESC LIMIT $limits"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment