Refactoring prompt

Optimize Database Queries

Identify N+1 queries, add missing indexes, rewrite slow queries, and add performance monitoring to an existing application.

Optimize the database queries in {{project_name}}.

## ORM: {{orm}} | Database: {{database}}
## Current pain points: {{pain_points}}

### Code to Audit:…

The full prompt is free with an account.

Sign up free to read it

It has 6 blanks, such as {{project_name}}, {{orm}} and {{database}}. In Loopy you fill them in a form and copy the finished prompt in one click.