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 ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé
Module « sqlalchemy »

Fonction literal_column - module sqlalchemy

Signature de la fonction literal_column

def literal_column(text: 'str', type_: 'Optional[_TypeEngineArgument[_T]]' = None) -> 'ColumnClause[_T]' 

Description

help(sqlalchemy.literal_column)

Produce a :class:`.ColumnClause` object that has the
:paramref:`_expression.column.is_literal` flag set to True.

:func:`_expression.literal_column` is similar to
:func:`_expression.column`, except that
it is more often used as a "standalone" column expression that renders
exactly as stated; while :func:`_expression.column`
stores a string name that
will be assumed to be part of a table and may be quoted as such,
:func:`_expression.literal_column` can be that,
or any other arbitrary column-oriented
expression.

:param text: the text of the expression; can be any SQL expression.
  Quoting rules will not be applied. To specify a column-name expression
  which should be subject to quoting rules, use the :func:`column`
  function.

:param type\_: an optional :class:`~sqlalchemy.types.TypeEngine`
  object which will
  provide result-set translation and additional expression semantics for
  this column. If left as ``None`` the type will be :class:`.NullType`.

.. seealso::

    :func:`_expression.column`

    :func:`_expression.text`

    :ref:`tutorial_select_arbitrary_text`



Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé