Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé
Classe « Inspector »

Méthode sqlalchemy.Inspector.get_table_options

Signature de la méthode get_table_options

def get_table_options(self, table_name: 'str', schema: 'Optional[str]' = None, **kw: 'Any') -> 'Dict[str, Any]' 

Description

help(Inspector.get_table_options)

Return a dictionary of options specified when the table of the
given name was created.

This currently includes some options that apply to MySQL and Oracle
Database tables.

: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,
 use :class:`.quoted_name`.

:param \**kw: Additional keyword argument to pass to the dialect
 specific implementation. See the documentation of the dialect
 in use for more information.

:return: a dict with the table options. The returned keys depend on the
 dialect in use. Each one is prefixed with the dialect name.

.. seealso:: :meth:`Inspector.get_multi_table_options`



Vous êtes un professionnel et vous avez besoin d'une formation ? Calcul scientifique
avec Python
Voir le programme détaillé