MCPcopy
hub / github.com/django/django / close_pool

Method close_pool

django/db/backends/postgresql/base.py:238–241  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

236 return self._connection_pools[self.alias]
237
238 def close_pool(self):
239 if self.pool:
240 self.pool.close()
241 del self._connection_pools[self.alias]
242
243 def get_database_version(self):
244 """

Callers 3

ensure_timezoneMethod · 0.95
_clone_test_dbMethod · 0.45
_destroy_test_dbMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected