Closed schlopmyflop closed 3 months ago
Hey ! Now that neomodel 5.3.0 is out and work on async is done ; I hope I can soon have a look into that !
Thank you for the nicely documented issue :)
@schlopmyflop Fixed in the attached PR, should make it into 5.3.1
Expected Behavior
neomodel_inspect_database writes all relationships to StructuredNode
Actual Behavior
neomodel_inspect_database only writes first relationship to StructuredNode
How to Reproduce the Problem
create node with 2 different outgoing relationship types
Simple Example
run neomodel_inspect_database script
output:
expected output (which can be replicated by removing the limit clause in RelationshipInspector.outgoing_relationships):
Cause
the LIMIT clause in RelationshipInspector.outgoing_relationships causes only the first relationship to be returned: https://github.com/neo4j-contrib/neomodel/blob/4bd630261647d1f32f387c413dc57555a3106e2c/neomodel/scripts/neomodel_inspect_database.py#L119-L136
Specifications
Versions