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 give Ecto a try right now, note Ecto v3.0.0-rc.0 has been released and we ar
EDIT: since Ecto 3.0 final version is out, this post was amended to use the final versions in the instructions below. Hi everyone, We are glad to announce the release candidate for Ecto 3.0 is out. Just update your dependencies list as follows: {:ecto_sql, "~> 3.0"}, {:postgrex, "~> 0.14.0"}, # or mariaex We are covering the changes in Ecto 3.0 in a series of blog posts and there is also a CHANGEL
Welcome to the “A sneak peek at Ecto 3.0” series: Breaking changes (you are here!) Query improvements part 1 Query improvements part 2 Performance, migrations and more We have spent the last 3 months working hard to release Ecto 3.0. As we get closer and closer to Ecto 3.0 release, we will do a series of blog posts highlighting what is up and coming. Despite the major version change, we have kept
Posted on: 2017-12-12 I've written previously about a way to query for records in a shuffled order that works for pagination. The TL;DR was: use a shuffled (not random) ordering, based on a prime integer parameter. SELECT whatever FROM table ORDER BY large_integer_field % prime_integer_parameter -- modulo to shuffle LIMIT 10 OFFSET 0; Reuse the prime_integer_parameter with OFFSET 10 for subsequent
I wanted to have a case insensitive database column to store email address in the open source application I’m working on. I’m using PostgreSQL and there’s a nice extension that does exactly that - citext - so I gave it a try. I spent some time figuring things out so now I’m sharing the knowledge in this blog post. The instructions were tested in Elixir 1.5.3 / Phoenix 1.3.0 application. We start b
Elixir can be a beautiful language, it has Ruby’s syntactic elegance, Lisp’s metaprogramming, and many functional features of languages like F#. The user has license to use many idioms and features: pattern matching, macros, behaviours, protocols, GenServers, ETS, etc. Working successfully in Elixir means choosing when to leverage a particular language feature for its ergonomics at the cost of gro
Oct 30 2017 How Elixir's Ecto Promotes Well-Designed ApplicationsAs consultants, our job is to provide the most value possible to our clients over the course of our engagement. As engineers, our desire is to build software that is a joy to work on. Thankfully, these goals are not mutually exclusive. In trying to meet both of them, it helps to focus on building well-designed applications. Since "we
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く