tags:

views:

10

answers:

1

Is it possible to query a recursive relationship in D2 for all fields that don't have a related element specified?

A: 

The following should work:

SELECT c FROM RecursiveEntity c WHERE p.parent IS NULL
beberlei