MCPcopy
hub / github.com/dbcli/pgcli / tables

Method tables

pgcli/pgexecute.py:562–564  ·  view source on GitHub ↗

Yields (schema_name, table_name) tuples

(self)

Source from the content-addressed store, hash-verified

560 yield from cur
561
562 def tables(self):
563 """Yields (schema_name, table_name) tuples"""
564 yield from self._relations(kinds=["r", "p", "f"])
565
566 def views(self):
567 """Yields (schema_name, view_name) tuples.

Callers 1

refresh_tablesFunction · 0.45

Calls 1

_relationsMethod · 0.95

Tested by

no test coverage detected