Posts tagged "elixir"

Building a new MySQL adapter for Ecto, Part I: Hello World

As you may have seen in the announcement, Plataformatec is working on a new MySQL driver called MyXQL. Writing a complete driver involves quite a bit of work. To name just a few things, we need to support: all protocol messages and data types, authentication schemes, connection options (TCP/SSL/UNIX domain socket), transactions and more. Rather … »

Starting with Elixir, the Study Guide

While I was studying Elixir, I had the opportunity to read many books and watch many talks, but I felt very lost because I didn’t know what I had to read or which exercises to do, in order to become a better functional Elixir developer. The main objective of this material is to show what … »

Updating Hex.pm to Ecto 3.0

Ecto 3.0 is just around the corner and as you may already know it reached stable API. To make sure everything works properly I thought I’ll try updating one of the first projects that ever used Ecto: Hex.pm. The whole upgrade was done in a single pull request, which we will break down below. First, … »

A sneak peek at Ecto 3.0: performance, migrations and more

Welcome to the “A sneak peek at Ecto 3.0” series: Breaking changes Query improvements part 1 Query improvements part 2 Performance, migrations and more (you are here!) We are back for one last round! This time we are going to cover improvements on three main areas: performance, upserts and migrations. If you would like to … »

A sneak peek at Ecto 3.0: query improvements (part 2)

Welcome to the “A sneak peek at Ecto 3.0” series: Breaking changes Query improvements part 1 Query improvements part 2 (you are here!) Performance, migrations and more This time we are back to cover other improvements coming to Ecto.Query in Ecto 3.0. UNION, EXCEPT and INTERSECT With Ecto 3.0, it is now possible to add … »

A sneak peek at Ecto 3.0: query improvements (part 1)

Welcome to the “A sneak peek at Ecto 3.0” series: Breaking changes Query improvements part 1 (you are here!) Query improvements part 2 Performance, migrations and more Let’s get started with the improvements to Ecto.Query APIs. The Ecto.Query API is the area that saw most improvements in Ecto 3.0, to the point we won’t be … »