---
title: "Listing matches for users"
url: https://daily.dev/posts/listing-matches-for-users-imlxvnaqb
source_url: https://dev.to/lubien/listing-matches-for-users-257c
type: article
source: "ElixirStatus"
published: 2024-02-05T20:04:08.540Z
updated: 2024-05-09T09:06:08.895Z
tags: ["postgresql", "elixir", "liveview", "ecto"]
reading_time: 9
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Listing matches for users

**[ElixirStatus](https://daily.dev/sources/elixirstatus)** · 9 min read · 1 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/lubien/listing-matches-for-users-257c>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#elixir](https://daily.dev/tags/elixir), [#liveview](https://daily.dev/tags/liveview), [#ecto](https://daily.dev/tags/ecto)

[View this post on daily.dev](https://daily.dev/posts/listing-matches-for-users-imlxvnaqb)
