Return information about foreign_keys in ``table_name``. Given a :class:`_engine.Connection`, a string ``table_name``, and an optional string ``schema``, return foreign key information as a list of dicts corresponding to the :class:`.ReflectedForeignKeyConstraint` di
(
self,
connection: Connection,
table_name: str,
schema: Optional[str] = None,
**kw: Any,
)
| 1457 | raise NotImplementedError() |
| 1458 | |
| 1459 | def get_foreign_keys( |
| 1460 | self, |
| 1461 | connection: Connection, |
| 1462 | table_name: str, |
| 1463 | schema: Optional[str] = None, |
| 1464 | **kw: Any, |
| 1465 | ) -> List[ReflectedForeignKeyConstraint]: |
| 1466 | """Return information about foreign_keys in ``table_name``. |
| 1467 | |
| 1468 | Given a :class:`_engine.Connection`, a string |
| 1469 | ``table_name``, and an optional string ``schema``, return foreign |
| 1470 | key information as a list of dicts corresponding to the |
| 1471 | :class:`.ReflectedForeignKeyConstraint` dictionary. |
| 1472 | |
| 1473 | This is an internal dialect method. Applications should use |
| 1474 | :meth:`_engine.Inspector.get_foreign_keys`. |
| 1475 | """ |
| 1476 | |
| 1477 | raise NotImplementedError() |
| 1478 | |
| 1479 | def get_multi_foreign_keys( |
| 1480 | self, |
no outgoing calls