Hello,
I have a question about Memento since I recently I started using it for my work queue. I have written this Ecto code to demonstrate what I need:
def jobs_by_status(queue_id, states) do
from(j in Job,
where: j.state in ^states,
where: [queue_id: ^queue_id]
)
|> Repo.all()
end
Is this possible with Memento? Thank you