Chaining arbitrary WHERE ORs together in ecto

How do I chain an arbitrary number of WHERE X = 'a' OR X = 'ab' OR... ect together?

Hi @NaN, what have you tried so far?

3 Likes

https://hexdocs.pm/ecto/dynamic-queries.html