Querying nested JSONB fields with Ecto
Ecto has a map type, which is implemented in Postgres as a JSONB field. It's particularly useful for situations involving user-submitted data, and here's a tutorial about how to query within them...
Tags: elixir, json, ecto, postgres