--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You could have references both ways. Any reason why there are three explicit doc types and not one with IsTop and IsLeaf properties?
Ok. The order line example doesn't work either because that doesn't make much sense as separate docs.
At any rate, references on both docs should work.
If your index is on the parent, you can easily reference the children, and vice versa. Useful in the map and result transforms.