How to retrieve model that is joined in query. #2483
Unanswered
IvanGarzon
asked this question in
Questions
Replies: 1 comment
-
Could you provide a simple reproducible example using the |
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
-
Hello guys I am struggling a bit to retrieve the data that I need. I got the user_testers and users tables where in users_testers I store the user_id among other data. I am getting all data properly when there are not parameters in the request. However, when I passed the search parameter the query works as expected with the exception of the user model I am joining.
UserTester Model
User Model
Response:
Without search parameter is OK:
Now the real issue if i pass search parameter as "[email protected]"
I got this response:
So as you notice the user instance is missing in the response, any help would be so much appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions