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

Method _create_nulls_first

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

Source from the content-addressed store, hash-verified

3656
3657 @classmethod
3658 def _create_nulls_first(
3659 cls,
3660 column: _ColumnExpressionArgument[_T],
3661 ) -> UnaryExpression[_T]:
3662 return UnaryExpression(
3663 coercions.expect(roles.ByOfRole, column),
3664 modifier=operators.nulls_first_op,
3665 )
3666
3667 @classmethod
3668 def _create_nulls_last(

Callers 1

nulls_firstFunction · 0.80

Calls 1

UnaryExpressionClass · 0.85

Tested by

no test coverage detected