Brightball

Articles about Ecto

PostgreSQL functions with Elixir Ecto

PostgreSQL | Elixir | Phoenix | - July 27, 2016 // Barry

Functions within PostgreSQL can be setup to return rows and included in queries just like any other table. Continuing with our theme of trying to push Elixir and Phoenix a little on this site rebuild, we will move our site search inside of a database function and experiment with different ways to call it from Ecto.