Skip to content

Distribution of nodes across relationships seems not to be randomized #3

Description

@Leward

We assume the following model:

  • A User has one and only one FileSpace defined.
  • A FileSpace can contains many files.

If you run the following query several times:

(user:User {email:email} *5)
(user)-[:filespace *1..1]->(fs:FileSpace *5)
(fs)-[:contains *1..n]->(file:File {name: randomNumber} *10)

You will notice that one of the FileSpace always contains 5 files and the others only 1. Is this normal behavior, or the maybe did I miss something in the query?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions