adamchainz / django-perf-rec

Keep detailed records of the performance of your Django code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't replace selected columns with "..."

zebuline opened this issue · comments

These 2 queries produce the same result:

list(Author.objects.all())
list(Author.objects.only('pk'))

result:

- db: SELECT ... FROM "testapp_author"
- db: SELECT ... FROM "testapp_author"

It will be helpfull to not hide selected columns, because without reading the code in parallel we don't know how many fields are concerned by the query.

I will propose a PR.