Posts tagged "ecto"
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 … »
Tags: ecto, elixir, Posted in English, Comments Off on 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 (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 … »
Tags: ecto, elixir, Posted in English, Comments Off on A sneak peek at Ecto 3.0: query improvements (part 1)
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 … »
Tags: ecto, elixir, Posted in English, Comments Off on A sneak peek at Ecto 3.0: breaking changes
Note: This is a sample chapter of the upcoming beta version of our “What’s new in Ecto 2.0” free book. Reserve Download your copy now if you want to receive the next beta and be notified of future versions. In the previous chapter we have learned about many_to_many associations and how to map external data … »
Tags: ecto, elixir, Posted in English, 13 Comments »
One of the functions added to Ecto 2.0 is Ecto.Repo.insert_all/3. insert_all allows developers to insert multiple entries at once into a repository: MyApp.Repo.insert_all(Post, [[title: “hello”, body: “world”], [title: “another”, body: “post”]]) Although insert_all is just a regular Elixir function, it plays an important role in Ecto 2.0 goals. To understand more about these goals, let’s … »
Tags: ecto, elixir, Posted in English, 12 Comments »
We are really glad to announce the release candidate for Ecto 2.0 has been released. The upcoming Ecto version packs many goodies: We have migrated to DBConnection, which considerably improves the performance of how Ecto manages connections to the database as a whole. Improved pool management, faster encoding/decoding, support for prepared queries and more; The … »
Tags: ecto, elixir, phoenix, Posted in English, 3 Comments »