ElixirStatus
Read post

Listing matches for users

This post discusses how to list matches for a user using Ecto and how to load nested information in Phoenix LiveView without running multiple queries. It also explains the N+1 problem and why it is bad.

    #postgresql#elixir#liveview#ecto
Feb 05, 2024•9m read time•From dev.to
Post cover image
Table of contents
Reviewing some Ecto conceptsBack to the tablesHow NOT to load nested information on Phoenix LiveViewHow to do load nested information on Phoenix LiveView EctoLearning a little bit more about Phoenix LiveView StreamsFixing old testsAdding tests for the UI changesSummary
ElixirStatus's image
ElixirStatus

ElixirStatus offers insights into Elixir programming language, OTP framework, and functional program...

215 Followers

•

1.7K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard