Results 1 to 5 of 5

Thread: Prent-child model?

Threaded View

  1. #1
    Join Date
    Jun 2012
    Posts
    18

    Default Parent-child model?

    I am trying to model a bi-direction one-to-many relationship (a tree). A node can have a parent, and has a children collection. This is straigh-forward in most persistance framewroks. But I can not find the 'correct/best' way to do it with neo4j. I read that when traversing, direction is ignored, so the 'parent' relationship does not need to exist. But in my Java code, something should exist to show this relationship.

    I've spent an hour or so searching around, and can't find this simple example. I'd appreciate any pointers.

    Thanks.
    Last edited by treaves; Jul 19th, 2012 at 11:38 AM. Reason: type in title

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •