MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _create_nulls_last

Method _create_nulls_last

lib/sqlalchemy/sql/elements.py:3952–3959  ·  view source on GitHub ↗
(
        cls,
        column: _ColumnExpressionArgument[_T],
    )

Source from the content-addressed store, hash-verified

3950
3951 @classmethod
3952 def _create_nulls_last(
3953 cls,
3954 column: _ColumnExpressionArgument[_T],
3955 ) -> UnaryExpression[_T]:
3956 return UnaryExpression(
3957 coercions.expect(roles.ByOfRole, column),
3958 modifier=operators.nulls_last_op,
3959 )
3960
3961 @classmethod
3962 def _create_desc(

Callers 1

nulls_lastFunction · 0.80

Calls 1

UnaryExpressionClass · 0.85

Tested by

no test coverage detected