How to build a query for a specific model? #392
Unanswered
AlejandroAkbal
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Where does |
Beta Was this translation helpful? Give feedback.
6 replies
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.
-
I'm trying to show a user its projects, instead of every single project that there exists.
I have three models, "User", "Project" and "Link".
A "User" has many "Project"
"Project" has many "Link"
Now, I've tried the following LiveWire component:
The code above works, but when using the search form, it dies with the following SQL Exception:
The question is, what am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions