Return the OID for the given table name. :param table_name: string name of the table. For special quoting, use :class:`.quoted_name`. :param schema: string schema name; if omitted, uses the default schema of the database connection. For special quoting,
(
self, table_name: str, schema: Optional[str] = None
)
| 3248 | dialect: PGDialect |
| 3249 | |
| 3250 | def get_table_oid( |
| 3251 | self, table_name: str, schema: Optional[str] = None |
| 3252 | ) -> int: |
| 3253 | """Return the OID for the given table name. |
| 3254 | |
| 3255 | :param table_name: string name of the table. For special quoting, |
| 3256 | use :class:`.quoted_name`. |
| 3257 | |
| 3258 | :param schema: string schema name; if omitted, uses the default schema |
| 3259 | of the database connection. For special quoting, |
| 3260 | use :class:`.quoted_name`. |
| 3261 | |
| 3262 | """ |
| 3263 | |
| 3264 | with self._operation_context() as conn: |
| 3265 | return self.dialect.get_table_oid( |
| 3266 | conn, table_name, schema, info_cache=self.info_cache |
| 3267 | ) |
| 3268 | |
| 3269 | def get_domains( |
| 3270 | self, schema: Optional[str] = None |
nothing calls this directly
no test coverage detected