diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2023-03-01 02:06:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2023-03-01 02:06:23 +0000 |
commit | 466c3fde848e28cc85f2a78dd9a76f85455479f8 (patch) | |
tree | 9e0533fc39b804ef83d72594431572ab40cde4b5 /lib/sqlalchemy | |
parent | bbbddf0d14b6ac6394f22bddb4a0d1e70c4d6e33 (diff) | |
parent | e02de779ba37b211342a849d107dcc49b452537d (diff) | |
download | sqlalchemy-466c3fde848e28cc85f2a78dd9a76f85455479f8.tar.gz |
Merge "Restore export for nullslast/nullfirst" into main
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r-- | lib/sqlalchemy/__init__.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/sql/expression.py | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index 6720437fa..70eace964 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -162,6 +162,8 @@ from .sql.expression import Null as Null from .sql.expression import null as null from .sql.expression import nulls_first as nulls_first from .sql.expression import nulls_last as nulls_last +from .sql.expression import nullsfirst as nullsfirst +from .sql.expression import nullslast as nullslast from .sql.expression import Operators as Operators from .sql.expression import or_ as or_ from .sql.expression import outerjoin as outerjoin diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py index 7076cd10d..4fa9cda00 100644 --- a/lib/sqlalchemy/sql/expression.py +++ b/lib/sqlalchemy/sql/expression.py @@ -152,4 +152,8 @@ from .selectable import Values as Values from .visitors import Visitable as Visitable nullsfirst = nulls_first +"""Synonym for the :func:`.nulls_first` function.""" + + nullslast = nulls_last +"""Synonym for the :func:`.nulls_last` function.""" |