diff options
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
-rw-r--r-- | lib/sqlalchemy/sql/elements.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py index 4af1e4463..a44c308eb 100644 --- a/lib/sqlalchemy/sql/elements.py +++ b/lib/sqlalchemy/sql/elements.py @@ -847,7 +847,10 @@ class ColumnElement(operators.ColumnOperators, ClauseElement): def cast(self, type_): """Produce a type cast, i.e. ``CAST(<expression> AS <type>)``. - This is a shortcut to the :func:`.cast` function. + This is a shortcut to the :func:`~.expression.cast` function. + + .. versionadded:: 1.0.7 + """ return Cast(self, type_) |