# phoenix_lens v0.1.0 - Table of Contents

> Mountable SQL notebook for Phoenix. Point it at your Ecto Repo, save questions, pin dashboards, and mask PII/PHI in every output.

## Pages

- [Lens (phoenix_lens)](readme.md)
- [Changelog](changelog.md)

- Guides
  - [Phoenix](phoenix.md)
  - [Field policy](policy.md)
  - [Permissions](permissions.md)

## Modules

- [PhoenixLens](PhoenixLens.md): Mountable SQL notebook for Phoenix.
- [PhoenixLens.Components.QuestionCard](PhoenixLens.Components.QuestionCard.md): Embed a saved question in a host LiveView.
- [PhoenixLens.Dashboards](PhoenixLens.Dashboards.md): Dashboards of saved questions.

- [PhoenixLens.Migrations](PhoenixLens.Migrations.md): Ecto migrations for questions, dashboards, and the audit log.
- [PhoenixLens.Questions](PhoenixLens.Questions.md): Saved SQL questions in the host Repo.

- [PhoenixLens.Result](PhoenixLens.Result.md): A policy-applied query result. There is no unmasked variant.

- [PhoenixLens.Settings](PhoenixLens.Settings.md): Runtime query engine and extra DuckDB sources, stored on the host Repo.

- [PhoenixLensWeb.AssetController](PhoenixLensWeb.AssetController.md)
- [PhoenixLensWeb.CSVController](PhoenixLensWeb.CSVController.md)
- [PhoenixLensWeb.Router](PhoenixLensWeb.Router.md): Router helper for mounting Lens in a Phoenix application.

- Exceptions
  - [PhoenixLens.Error](PhoenixLens.Error.md): Error returned by `PhoenixLens.run/2`.

## Mix Tasks

- [mix phoenix_lens.server](Mix.Tasks.PhoenixLens.Server.md): Starts a standalone Lens dashboard.

