Merge branch 'feature/oxy-work' - Resolved conflicts in graph_wrapper.py
This commit is contained in:
commit
e39a453702
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "oxy",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
||||
|
|
@ -462,8 +462,8 @@ Tipos de relacionamento comuns:
|
|||
MATCH (m:Memory {id: $id})
|
||||
OPTIONAL MATCH (m)-[r]->(target)
|
||||
RETURN count(DISTINCT target) as total_connections,
|
||||
count(DISTINCT r) as total_relationships,
|
||||
[type(r) IN collect(DISTINCT type(r)) WHERE type(r) IS NOT NULL] as relationship_types
|
||||
count(DISTINCT r) as total_relationships,
|
||||
[type(r) IN collect(DISTINCT type(r)) WHERE type(r) IS NOT NULL] as relationship_types
|
||||
""", id=memory_id)
|
||||
|
||||
record = result.single()
|
||||
|
|
|
|||
Loading…
Reference in New Issue