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

Method views

pgcli/pgexecute.py:566–571  ·  view source on GitHub ↗

Yields (schema_name, view_name) tuples. Includes both views and and materialized views

(self)

Source from the content-addressed store, hash-verified

564 yield from self._relations(kinds=["r", "p", "f"])
565
566 def views(self):
567 """Yields (schema_name, view_name) tuples.
568
569 Includes both views and and materialized views
570 """
571 yield from self._relations(kinds=["v", "m"])
572
573 def _columns(self, kinds=("r", "p", "f", "v", "m")):
574 """Get column metadata for tables and views

Callers 1

refresh_viewsFunction · 0.45

Calls 1

_relationsMethod · 0.95

Tested by

no test coverage detected