While I am not an expert, I believe there is a package called mongodb_ecto
:
- How to extend Ecto to NoSQL domain - Questions / Help - Elixir Programming Language Forum
- GitHub - elixir-mongo/mongodb_ecto: MongoDB adapter for Ecto
So if you use MongoDB, this might be your thing.