MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _create_asc

Method _create_asc

lib/sqlalchemy/sql/elements.py:3972–3979  ·  view source on GitHub ↗
(
        cls,
        column: _ColumnExpressionOrStrLabelArgument[_T],
    )

Source from the content-addressed store, hash-verified

3970
3971 @classmethod
3972 def _create_asc(
3973 cls,
3974 column: _ColumnExpressionOrStrLabelArgument[_T],
3975 ) -> UnaryExpression[_T]:
3976 return UnaryExpression(
3977 coercions.expect(roles.ByOfRole, column),
3978 modifier=operators.asc_op,
3979 )
3980
3981 @classmethod
3982 def _create_distinct(

Callers 1

ascFunction · 0.80

Calls 1

UnaryExpressionClass · 0.85

Tested by

no test coverage detected