MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / MappedSQLExpression

Class MappedSQLExpression

lib/sqlalchemy/orm/properties.py:493–508  ·  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

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

Callers 3

column_propertyFunction · 0.85
deferredFunction · 0.85
query_expressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected