MCPcopy Index your code
hub / github.com/dbcli/pgcli / full_databases

Method full_databases

pgcli/pgexecute.py:643–648  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

641 return [x[0] for x in cur.fetchall()]
642
643 def full_databases(self):
644 with self.conn.cursor() as cur:
645 _logger.debug("Databases Query. sql: %r", self.full_databases_query)
646 cur.execute(self.full_databases_query)
647 headers = [x[0] for x in cur.description]
648 return cur.fetchall(), headers, cur.statusmessage
649
650 def is_protocol_error(self):
651 query = "SELECT 1"

Callers 1

cliFunction · 0.80

Calls 2

fetchallMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected