Closed ayan-haider closed 1 year ago
The deleted_at clause here works perfectly fine when we apply each filter in separate where expressions. However, if we do something like this:
deleted_at
where
from(c in City, where: c.country == "Sweden" and is_nil(c.deleted_at))
The code does not recognize it and adds another check that is exactly the same.
Thank you for your contribution! I've given feedback on your PR, but I believe this would be a good addition.
The
deleted_at
clause here works perfectly fine when we apply each filter in separatewhere
expressions. However, if we do something like this:The code does not recognize it and adds another check that is exactly the same.