Parent/Children self referenced entity with SQLite #201
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I think that this section of the wiki would apply to your situation: https://github.com/MoonStorm/FastCrud/wiki/JOINs#referencing-the-same-entity-multiple-times So for this entity registration:
then this call should work:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I will try it ASAP. |
Beta Was this translation helpful? Give feedback.
-
One more thing that I don't understand : how to make it work without the InverseProperty. I still have the mismatch between parentId and the actual parentLocation. I think the inverse property is making the query run really slow. Thanks again. |
Beta Was this translation helpful? Give feedback.
I think that this section of the wiki would apply to your situation: https://github.com/MoonStorm/FastCrud/wiki/JOINs#referencing-the-same-entity-multiple-times
So for this entity registration:
then this call should work: