-
-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find_with_related does not return records with no related entity. It just records that have more than one related entities. #1800
Comments
It sounds like left join vs inner join. However |
I have checked the generated SQL. It is using left join. and by looking at the logs, it seems that the result has one response.
It will try to use the problematic feature I mentioned before.
Note that the issue does not appear on version 11.*, it is just on version 12.0.1. |
Thank you for reporting. I think I have a clue now. You pointed out a regression. |
No problem! |
Please try 0.12.2 |
@hamedai appreciate if you can let me know if it's good |
Thanks, Chris! |
Thank you. Note to self: we'd need to add more test cases. |
Expected Behavior
return A with an empty list of Bs
Actual Behavior
no A has been returned
Reproduces How Often
Always
Workarounds
Reproducible Example
Versions
The text was updated successfully, but these errors were encountered: