Cascade deletes being flagged as N+1s
Open
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
I don't know if this is a bug or a feature.
Using:
- Django 4.1.2
- Nplusone 1.0.0
If I delete a model that generates cascade deletions, those are displayed in the console as N+1s. For instance, in the classic `Book -> Author` example, if I delete an `Author`, the package flags N+1 like this:
`Potential n+1 query detected on Book.author`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.