summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/selectable.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2023-04-12 23:17:38 +0200
committerFederico Caselli <cfederico87@gmail.com>2023-04-12 23:17:38 +0200
commitee7e49964fcf13ed0f5a3541b81f00302a9db29a (patch)
tree71d6b1cbfc8705658e2cfd8de56b817ca28fd67e /lib/sqlalchemy/sql/selectable.py
parent107ec58bdfbcbb09f40d92590f8197ffa683a925 (diff)
downloadsqlalchemy-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/selectable.py')
-rw-r--r--lib/sqlalchemy/sql/selectable.py32
1 files changed, 1 insertions, 31 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py
index 56cca6f73..5f530ba7d 100644
--- a/lib/sqlalchemy/sql/selectable.py
+++ b/lib/sqlalchemy/sql/selectable.py
@@ -302,8 +302,6 @@ class Selectable(ReturnsRows):
The return value is the :class:`_expression.Lateral` construct also
provided by the top-level :func:`_expression.lateral` function.
- .. versionadded:: 1.1
-
.. seealso::
:ref:`tutorial_lateral_correlation` - overview of usage.
@@ -491,8 +489,6 @@ class HasHints:
directives such as isolation levels, file directives, fetch directives,
etc.
- .. versionadded:: 1.0.0
-
.. seealso::
:meth:`_expression.Select.with_hint`
@@ -671,8 +667,6 @@ class FromClause(roles.AnonymizedFromClauseRole, Selectable):
:param full: if True, render a FULL OUTER JOIN, instead of LEFT OUTER
JOIN. Implies :paramref:`.FromClause.join.isouter`.
- .. versionadded:: 1.1
-
.. seealso::
:func:`_expression.join` - standalone function
@@ -722,8 +716,6 @@ class FromClause(roles.AnonymizedFromClauseRole, Selectable):
:param full: if True, render a FULL OUTER JOIN, instead of
LEFT OUTER JOIN.
- .. versionadded:: 1.1
-
.. seealso::
:meth:`_expression.FromClause.join`
@@ -769,8 +761,6 @@ class FromClause(roles.AnonymizedFromClauseRole, Selectable):
construct also
provided by the top-level :func:`_expression.tablesample` function.
- .. versionadded:: 1.1
-
.. seealso::
:func:`_expression.tablesample` - usage guidelines and parameters
@@ -1922,8 +1912,6 @@ class Lateral(FromClauseAlias, LateralFromClause):
While LATERAL is part of the SQL standard, currently only more recent
PostgreSQL versions provide support for this keyword.
- .. versionadded:: 1.1
-
.. seealso::
:ref:`tutorial_lateral_correlation` - overview of usage.
@@ -1954,8 +1942,6 @@ class TableSample(FromClauseAlias):
method
available on all :class:`_expression.FromClause` subclasses.
- .. versionadded:: 1.1
-
.. seealso::
:func:`_expression.tablesample`
@@ -2399,11 +2385,7 @@ class SelectsRows(ReturnsRows):
class HasCTE(roles.HasCTERole, SelectsRows):
- """Mixin that declares a class to include CTE support.
-
- .. versionadded:: 1.1
-
- """
+ """Mixin that declares a class to include CTE support."""
_has_ctes_traverse_internals: _TraverseInternalsType = [
("_independent_ctes", InternalTraversal.dp_clauseelement_list),
@@ -2539,9 +2521,6 @@ class HasCTE(roles.HasCTERole, SelectsRows):
when combined with RETURNING, as well as a consumer of
CTE rows.
- .. versionchanged:: 1.1 Added support for UPDATE/INSERT/DELETE as
- CTE, CTEs added to UPDATE/INSERT/DELETE.
-
SQLAlchemy detects :class:`_expression.CTE` objects, which are treated
similarly to :class:`_expression.Alias` objects, as special elements
to be delivered to the FROM clause of the statement as well
@@ -3573,8 +3552,6 @@ class SelectBase(
The return value is the :class:`_expression.Lateral` construct also
provided by the top-level :func:`_expression.lateral` function.
- .. versionadded:: 1.1
-
.. seealso::
:ref:`tutorial_lateral_correlation` - overview of usage.
@@ -4010,9 +3987,6 @@ class GenerativeSelect(SelectBase, Generative):
The :meth:`_sql.GenerativeSelect.limit` method will replace
any clause applied with :meth:`_sql.GenerativeSelect.fetch`.
- .. versionchanged:: 1.0.0 - :meth:`_expression.Select.limit` can now
- accept arbitrary SQL expressions as well as integer values.
-
:param limit: an integer LIMIT parameter, or a SQL expression
that provides an integer result. Pass ``None`` to reset it.
@@ -4095,10 +4069,6 @@ class GenerativeSelect(SelectBase, Generative):
support ``OFFSET`` will attempt to provide similar
functionality.
-
- .. versionchanged:: 1.0.0 - :meth:`_expression.Select.offset` can now
- accept arbitrary SQL expressions as well as integer values.
-
:param offset: an integer OFFSET parameter, or a SQL expression
that provides an integer result. Pass ``None`` to reset it.