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é
Classe « ARRAY »

Constructeur sqlalchemy.ARRAY.__init__

Signature de la constructeur __init__

def __init__(self, item_type: '_TypeEngineArgument[Any]', as_tuple: 'bool' = False, dimensions: 'Optional[int]' = None, zero_indexes: 'bool' = False) 

Description

help(ARRAY.__init__)

Construct an :class:`_types.ARRAY`.

E.g.::

  Column("myarray", ARRAY(Integer))

Arguments are:

:param item_type: The data type of items of this array. Note that
  dimensionality is irrelevant here, so multi-dimensional arrays like
  ``INTEGER[][]``, are constructed as ``ARRAY(Integer)``, not as
  ``ARRAY(ARRAY(Integer))`` or such.

:param as_tuple=False: Specify whether return results
  should be converted to tuples from lists.  This parameter is
  not generally needed as a Python list corresponds well
  to a SQL array.

:param dimensions: if non-None, the ARRAY will assume a fixed
 number of dimensions.   This impacts how the array is declared
 on the database, how it goes about interpreting Python and
 result values, as well as how expression behavior in conjunction
 with the "getitem" operator works.  See the description at
 :class:`_types.ARRAY` for additional detail.

:param zero_indexes=False: when True, index values will be converted
 between Python zero-based and SQL one-based indexes, e.g.
 a value of one will be added to all index values before passing
 to the database.



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é