sqlalchemy.sql.expression UnaryExpression Example Code

UnaryExpression is a class within the sqlalchemy.sql.expression module of the SQLAlchemy project.

ClauseElement, ColumnClause, ColumnElement, Executable, and FunctionElement are several other callables with code examples from the same sqlalchemy.sql.expression package.

Example 1 from alembic

Alembic (project documentation and PyPI page) is a data migrations tool used with SQLAlchemy to make database schema changes. The Alembic project is open sourced under the MIT license.

alembic / alembic / ddl / postgresql.py