MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / MappedSQLExpression

Class MappedSQLExpression

lib/sqlalchemy/orm/properties.py:498–513  ·  view source on GitHub ↗

Declarative front-end for the :class:`.ColumnProperty` class. Public constructor is the :func:`_orm.column_property` function. .. versionchanged:: 2.0 Added :class:`_orm.MappedSQLExpression` as a Declarative compatible subclass for :class:`_orm.ColumnProperty`. .. seealso::

Source from the content-addressed store, hash-verified

496
497
498class MappedSQLExpression(ColumnProperty[_T], _DeclarativeMapped[_T]):
499 """Declarative front-end for the :class:`.ColumnProperty` class.
500
501 Public constructor is the :func:`_orm.column_property` function.
502
503 .. versionchanged:: 2.0 Added :class:`_orm.MappedSQLExpression` as
504 a Declarative compatible subclass for :class:`_orm.ColumnProperty`.
505
506 .. seealso::
507
508 :class:`.MappedColumn`
509
510 """
511
512 inherit_cache = True
513 """:meta private:"""
514
515
516class MappedColumn(

Callers 3

column_propertyFunction · 0.85
deferredFunction · 0.85
query_expressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected