repr query_counter as the number of queries.
(self)
| 270 | return self._get_count() |
| 271 | |
| 272 | def __repr__(self): |
| 273 | """repr query_counter as the number of queries.""" |
| 274 | return "%s" % self._get_count() |
| 275 | |
| 276 | def _get_count(self): |
| 277 | """Get the number of queries by counting the current number of entries in db.system.profile |
nothing calls this directly
no test coverage detected