Parent/Children self referenced entity with SQLite #201
Answered
by
MoonStorm
jfmary-storkcom
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
MoonStorm
Jun 19, 2024
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.
0 replies
Answer selected by
jfmary-storkcom
-
Thanks for your reply. I will try it ASAP. |
Beta Was this translation helpful? Give feedback.
1 reply
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: