sqlalchemy.sql.expression FunctionElement Example Code

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

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

Example 1 from GeoAlchemy2

GeoAlchemy2 (project documentation and PyPI package information) extends SQLAlchemy with new data types for working with geospatial databases, particularly PostGIS, which is a spatial database extender for PostgreSQL. The project is provided as open source under the MIT license.

GeoAlchemy2 / geoalchemy2 / elements.py

Example 2 from sqlalchemy-utils

sqlalchemy-utils (project documentation and PyPI package information) is a code library with various helper functions and new data types that make it easier to use SQLAlchemy when building projects that involve more specific storage requirements such as currency. The wide array of data types includes ranged values and aggregated attributes.

sqlalchemy-utils / sqlalchemy_utils / expressions.py