Supported kw arguments are: ``dblink`` to reflect via a db link.
(self, connection, schema=None, dblink=None, **kw)
| 2694 | |
| 2695 | @reflection.cache |
| 2696 | def get_view_names(self, connection, schema=None, dblink=None, **kw): |
| 2697 | """Supported kw arguments are: ``dblink`` to reflect via a db link.""" |
| 2698 | if not schema: |
| 2699 | schema = self.default_schema_name |
| 2700 | |
| 2701 | query = select(dictionary.all_views.c.view_name).where( |
| 2702 | dictionary.all_views.c.owner |
| 2703 | == self.denormalize_schema_name(schema) |
| 2704 | ) |
| 2705 | result = self._execute_reflection( |
| 2706 | connection, query, dblink, returns_long=False |
| 2707 | ).scalars() |
| 2708 | return [self.normalize_name(row) for row in result] |
| 2709 | |
| 2710 | @reflection.cache |
| 2711 | def get_sequence_names(self, connection, schema=None, dblink=None, **kw): |
no test coverage detected