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 ? Programmation Python
Les fondamentaux
Voir le programme détaillé
Classe « Dialect »

Méthode sqlalchemy.Dialect.get_table_comment

Signature de la méthode get_table_comment

def get_table_comment(self, connection: 'Connection', table_name: 'str', schema: 'Optional[str]' = None, **kw: 'Any') -> 'ReflectedTableComment' 

Description

help(Dialect.get_table_comment)

Return the "comment" for the table identified by ``table_name``.

Given a string ``table_name`` and an optional string ``schema``, return
table comment information as a dictionary corresponding to the
:class:`.ReflectedTableComment` dictionary.

This is an internal dialect method. Applications should use
:meth:`.Inspector.get_table_comment`.

:raise: ``NotImplementedError`` for dialects that don't support
 comments.

.. versionadded:: 1.2



Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé