Breaking Out of Ecto Schemas With Ecto, 🎶 you can always get what you want. And if you try sometimes, well, you might find, you can select want you need 🎶. German Velasco February 24, 2020 Ecto Elixir SQL Web
Querying an Embedded Map in PostgreSQL with Ecto Structs and maps are easy to work with in Elixir, but if they are stored in the database as JSON and accessed via an Ecto Schema, it’s not as clear how to query them. We’re going to explore how to do that, and make it clear and easy. David Bernheisel March 9, 2018 Ecto Map Embeds One PostgreSQL JSON Elixir Query Web
Why Ecto's Way of Storing Embedded Lists of Maps Makes Querying Hard You can use PostgreSQL’s JSON data types to store embedded data on Ecto models. But the way Ecto tells you to store it might not be the best way. Jon Yurek February 16, 2018 Elixir Ecto PostgreSQL JSON
Preloading Nested Associations with Ecto A look at how to preload database associations using Elixir’s Ecto library. Greg Lazarev January 11, 2017 Elixir Ecto Web
Embedding Elixir Structs in Ecto Models Store semi-structured data inside a Postgres table without sacrificing expressiveness. Josh Steiner October 15, 2015 Elixir Ecto Web