Tuesday, July 23, 2019

What's the best way to find the number of database accesses being done?

I have a function that runs some database queries and updates.  In the test code for that function, I'd like to check out many times the database is actually being hit.  Does Django provide a way to get that information?

Thanks,
Don

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fae9f795-652b-4125-8b59-d3f605f5edd8%40googlegroups.com.

No comments:

Post a Comment