/print_model_explain.py Secret
Created
September 13, 2022 17:18
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(MyModel.objects.filter(id=1).explain()) | |
Seq Scan on myapp_mymodel (cost=0.00..7.12 rows=1 width=172) Filter: (id = 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment