(
self, connection: Connection, schema: Optional[str] = None, **kw: Any
)
| 3241 | |
| 3242 | @reflection.cache |
| 3243 | def get_view_names( |
| 3244 | self, connection: Connection, schema: Optional[str] = None, **kw: Any |
| 3245 | ) -> list[str]: |
| 3246 | if schema is None: |
| 3247 | schema = self.default_schema_name |
| 3248 | assert schema is not None |
| 3249 | charset = self._connection_charset |
| 3250 | rp = connection.exec_driver_sql( |
| 3251 | "SHOW FULL TABLES FROM %s" |
| 3252 | % self.identifier_preparer.quote_identifier(schema) |
| 3253 | ) |
| 3254 | return [ |
| 3255 | row[0] |
| 3256 | for row in self._compat_fetchall(rp, charset=charset) |
| 3257 | if row[1] in ("VIEW", "SYSTEM VIEW") |
| 3258 | ] |
| 3259 | |
| 3260 | @reflection.cache |
| 3261 | def get_table_options( |
nothing calls this directly
no test coverage detected