-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Using OR
instead of AND
in the association
#129
Comments
Pls, need help 🙏 |
@topclaudy, what about this? |
@undjike Some people have requested different association logics. Can you please explain the use case(s) for this? |
OK, let me explain.
When we have a transfer, both deposit and withdrawal are performed in the accounts concerned by the operation.
Then, when I'm to retrieve (with eager loading) the transfer associated to a transaction, I have to join using That's the point. |
Would really like to be able to use OR. But i can see why it could be a pain to add due to associating models. |
Please, is it possible to use OR in the association?
The text was updated successfully, but these errors were encountered: