elixir

A collection of 7 posts

Ecto type for IPv4 and IPv6 addresses

Sometimes we want to store some type of data in the project's database that currently is not available as a valid internal data type to be persisted. For example, IP addresses, that are

CityBase blog post about Elixir

This month CityBase posted an article that I wrote on Elixir and the reasons the language is a very good fit for Govtech, you can read it here: https://medium.com/@citybase/elixir-a-big-picture-programming-language-755dcef2fa6a

Using Postgres range data type in Ecto

Since PostgreSQL 9.2 we have the ability to store and query range of values with specific operators and functions. This is a super nice feature that removes complexity when handling logic around