Skip to content

How to write LEFT JOIN which include more than one condition use AND? #1901

Answered by jwoertink
zw963 asked this question in Q&A
Discussion options

You must be logged in to vote

Currently this isn't supported. https://github.com/luckyframework/avram/blob/3a27ebb093d52585f6fd25f6ff55672888d3a6d7/src/avram/join.cr#L27-L31

We would have to add in a way to handle this. For now I would suggest just using raw SQL. I thought we had an issue for this already, but I guess we don't. You can open an issue for it if you would like.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zw963
Comment options

@zw963
Comment options

Answer selected by zw963
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants