MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _create_nulls_first

Method _create_nulls_first

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

Source from the content-addressed store, hash-verified

3940
3941 @classmethod
3942 def _create_nulls_first(
3943 cls,
3944 column: _ColumnExpressionArgument[_T],
3945 ) -> UnaryExpression[_T]:
3946 return UnaryExpression(
3947 coercions.expect(roles.ByOfRole, column),
3948 modifier=operators.nulls_first_op,
3949 )
3950
3951 @classmethod
3952 def _create_nulls_last(

Callers 1

nulls_firstFunction · 0.80

Calls 1

UnaryExpressionClass · 0.85

Tested by

no test coverage detected