API Reference Ecto Doctor v#0.0.1

Copy Markdown View Source

Modules

Finds where your Ecto schemas and changesets disagree with your database.

Explains why Ecto Doctor can't run when a function returns it or raises it.

Describes one problem a check found.

Lists the page's N+1 queries in a footer and in the browser console while you develop.

Catches N+1 queries while your tests run and while you use the app in dev.

Checks one block of code for N+1 queries inside an ExUnit test.

Fails a test at its end when it ran a new N+1 query.

Describes one N+1 query. The same query ran count times from the same call stack in one unit of work.

Mix Tasks

Checks your Ecto schemas and changesets against the live database.

Writes every current finding to the baseline file so mix ecto.doctor reports only new ones.

Describes one check or lists them all.

Sets Ecto Doctor up in your app.