Skill / SKILL.md

Ecto Queries Performance

j-morgan6/elixir-phoenix-guide

Use when a query is slow, N+1 or hard to compose — preload vs join-preload, dynamic/2, subquery/exists, Repo.aggregate, Repo.stream, FOR UPDATE, optimistic_lock, insert_all, Repo.explain, indexes, prepare_query. Not for schemas or scoped contexts (use ecto-essentials).
2 views 175 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when a query is slow, N+1 or hard to compose — preload vs join-preload, dynamic/2, subquery/exists, Repo.aggregate, Repo.stream, FOR UPDATE, optimistic_lock, insert_all, Repo.explain, indexes, prepare_query. Not for schemas or scoped contexts (use ecto-essentials).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/j-morgan6/elixir-phoenix-guide' skill-source

Use the complete skill-source/skills/ecto-queries-performance directory with your client’s skill installer.

  • skills/ecto-queries-performance

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/ecto-queries-performance

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b90182c3e90977593bd229ed2b6cd25552c721c2203d2d930bbc5908960f7a4e
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills