pallets-eco / pallets-eco/flask-debugtoolbar
Group repeated SQL queries
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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