diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-07-19 17:56:18 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-07-19 17:56:18 -0400 |
commit | c7312cc508eadc9e85a3de0dc56c9906dccdf7a1 (patch) | |
tree | fc0667f929ec99797e6cd8340c5e9a726a84812d /lib/sqlalchemy/sql/elements.py | |
parent | 1c65ddee24f77b9751f05ba50b618234a6a039c5 (diff) | |
download | sqlalchemy-c7312cc508eadc9e85a3de0dc56c9906dccdf7a1.tar.gz |
- changelog for #3459, fixes #3459
- test for .cast() method has no good place now except for
test_cast in test_compiler.py
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_) |