diff options
author | Federico Caselli <cfederico87@gmail.com> | 2023-04-12 23:17:38 +0200 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2023-04-12 23:17:38 +0200 |
commit | ee7e49964fcf13ed0f5a3541b81f00302a9db29a (patch) | |
tree | 71d6b1cbfc8705658e2cfd8de56b817ca28fd67e /lib/sqlalchemy/sql/_elements_constructors.py | |
parent | 107ec58bdfbcbb09f40d92590f8197ffa683a925 (diff) | |
download | sqlalchemy-ee7e49964fcf13ed0f5a3541b81f00302a9db29a.tar.gz |
Remove old versionadded and versionchanged
Removed versionadded and versionchanged for version prior to 1.2 since they
are no longer useful.
Change-Id: I5c53d1188bc5fec3ab4be39ef761650ed8fa6d3e
Diffstat (limited to 'lib/sqlalchemy/sql/_elements_constructors.py')
-rw-r--r-- | lib/sqlalchemy/sql/_elements_constructors.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/sqlalchemy/sql/_elements_constructors.py b/lib/sqlalchemy/sql/_elements_constructors.py index f54fff5ce..99a839cc9 100644 --- a/lib/sqlalchemy/sql/_elements_constructors.py +++ b/lib/sqlalchemy/sql/_elements_constructors.py @@ -411,8 +411,6 @@ def between( :param symmetric: if True, will render " BETWEEN SYMMETRIC ". Note that not all databases support this syntax. - .. versionadded:: 0.9.5 - .. seealso:: :meth:`_expression.ColumnElement.between` @@ -878,11 +876,6 @@ def cast( as well as the bound-value handling and result-row-handling behavior of the type. - .. versionchanged:: 0.9.0 :func:`.cast` now applies the given type - to the expression such that it takes effect on the bound-value, - e.g. the Python-to-database direction, in addition to the - result handling, e.g. database-to-Python, direction. - An alternative to :func:`.cast` is the :func:`.type_coerce` function. This function performs the second task of associating an expression with a specific type, but does not render the ``CAST`` expression @@ -978,10 +971,6 @@ def column( :class:`_schema.MetaData`, DDL, or events, unlike its :class:`_schema.Table` counterpart. - .. versionchanged:: 1.0.0 :func:`_expression.column` can now - be imported from the plain ``sqlalchemy`` namespace like any - other SQL element. - :param text: the text of the element. :param type: :class:`_types.TypeEngine` object which can associate @@ -1178,10 +1167,6 @@ def false() -> False_: >>> print(select(t.c.x).where(and_(t.c.x > 5, false()))) {printsql}SELECT x FROM t WHERE false{stop} - .. versionchanged:: 0.9 :func:`.true` and :func:`.false` feature - better integrated behavior within conjunctions and on dialects - that don't support true/false constants. - .. seealso:: :func:`.true` @@ -1209,8 +1194,6 @@ def funcfilter( This function is also available from the :data:`~.expression.func` construct itself via the :meth:`.FunctionElement.filter` method. - .. versionadded:: 1.0.0 - .. seealso:: :ref:`tutorial_functions_within_group` - in the @@ -1514,9 +1497,6 @@ def over( func.row_number().over(order_by='x', range_=(1, 3)) - .. versionadded:: 1.1 support for RANGE / ROWS within a window - - :param element: a :class:`.FunctionElement`, :class:`.WithinGroup`, or other compatible construct. :param partition_by: a column element or string, or a list @@ -1529,14 +1509,10 @@ def over( tuple value which can contain integer values or ``None``, and will render a RANGE BETWEEN PRECEDING / FOLLOWING clause. - .. versionadded:: 1.1 - :param rows: optional rows clause for the window. This is a tuple value which can contain integer values or None, and will render a ROWS BETWEEN PRECEDING / FOLLOWING clause. - .. versionadded:: 1.1 - This function is also available from the :data:`~.expression.func` construct itself via the :meth:`.FunctionElement.over` method. @@ -1661,10 +1637,6 @@ def true() -> True_: >>> print(select(t.c.x).where(and_(t.c.x > 5, false()))) {printsql}SELECT x FROM t WHERE false{stop} - .. versionchanged:: 0.9 :func:`.true` and :func:`.false` feature - better integrated behavior within conjunctions and on dialects - that don't support true/false constants. - .. seealso:: :func:`.false` @@ -1817,8 +1789,6 @@ def within_group( :param \*order_by: one or more column elements that will be used as the ORDER BY clause of the WITHIN GROUP construct. - .. versionadded:: 1.1 - .. seealso:: :ref:`tutorial_functions_within_group` - in the |