pallets-eco / pallets-eco/flask-debugtoolbar

Group repeated SQL queries

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
978
Forks
151
PR merge metrics
No merged PRs in 30d

Description

When the same SQL query is repeated multiple times within the same request, it would be useful to group the results.

For example, querying multiple records of the same type might be executed as the same SELECT statement repeated with different id parameters.

These could be grouped to show the total number of executions and aggregate times in order to make it easier to compare the distinct queries against each other. The groups could be expanded to show details for each occurrence.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Begin by finding where SQL query results for a request are collected and displayed; done means repeated statements are grouped with execution counts, aggregate times, and expandable details for each occurrence.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python, sql
Domain
databases, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.