Replies: 2 comments 2 replies
-
If I get the question right, you are not able to load the nested replies? Or not even the top level replies? |
Beta Was this translation helpful? Give feedback.
1 reply
-
If it still actual, rename |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, i have posts comments table, and this table has a postComment_id column, which has relation to itself.
And when this column is not empty its mean what this row is reply and not comment.
So, if row has column which foreign to reply (postComment_id = reply_id) it's mean reply to reply.
In my model i create relations below.
And when i use preload reply relation, it's preloaded only replies, and not replies to replies.
It's returned toSQL() method:
What i doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions