summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-04-23 12:54:45 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-04-23 13:01:56 -0400
commit5347efa35e3e80c8092501b4adfe1278260d67f5 (patch)
treecd3abe5b9c02c59bdecc7a95206b974abdea497e /lib/sqlalchemy/sql
parent08515f23b3ea36bce2f150b8cd82c787c4cf9e5e (diff)
downloadsqlalchemy-5347efa35e3e80c8092501b4adfe1278260d67f5.tar.gz
remove all labels and links that are no longer locatable
Change-Id: Ic975b8c20bc297d3a04dde0bed143783ae951cd4
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/_elements_constructors.py2
-rw-r--r--lib/sqlalchemy/sql/dml.py2
-rw-r--r--lib/sqlalchemy/sql/events.py8
-rw-r--r--lib/sqlalchemy/sql/functions.py6
-rw-r--r--lib/sqlalchemy/sql/operators.py2
-rw-r--r--lib/sqlalchemy/sql/schema.py32
-rw-r--r--lib/sqlalchemy/sql/sqltypes.py2
-rw-r--r--lib/sqlalchemy/sql/type_api.py2
8 files changed, 28 insertions, 28 deletions
diff --git a/lib/sqlalchemy/sql/_elements_constructors.py b/lib/sqlalchemy/sql/_elements_constructors.py
index 99a839cc9..a2f9564bd 100644
--- a/lib/sqlalchemy/sql/_elements_constructors.py
+++ b/lib/sqlalchemy/sql/_elements_constructors.py
@@ -667,7 +667,7 @@ def bindparam(
:meth:`.ColumnOperators.in_`
- :ref:`baked_in` - with baked queries
+ ref_baked_in - with baked queries
.. note:: The "expanding" feature does not support "executemany"-
style parameter sets.
diff --git a/lib/sqlalchemy/sql/dml.py b/lib/sqlalchemy/sql/dml.py
index 911061640..2ea3b3b34 100644
--- a/lib/sqlalchemy/sql/dml.py
+++ b/lib/sqlalchemy/sql/dml.py
@@ -1257,7 +1257,7 @@ class Insert(ValuesBase):
correspond.
:param include_defaults: if True, non-server default values and
SQL expressions as specified on :class:`_schema.Column` objects
- (as documented in :ref:`metadata_defaults_toplevel`) not
+ (as documented in ref_metadata_defaults_toplevel) not
otherwise specified in the list of names will be rendered
into the INSERT and SELECT statements, so that these values are also
included in the data to be inserted.
diff --git a/lib/sqlalchemy/sql/events.py b/lib/sqlalchemy/sql/events.py
index b34d07412..1cd0aabdf 100644
--- a/lib/sqlalchemy/sql/events.py
+++ b/lib/sqlalchemy/sql/events.py
@@ -446,10 +446,10 @@ class DDLEvents(event.Events[SchemaEventTarget]):
:ref:`mapper_automated_reflection_schemes` -
in the ORM mapping documentation
- :ref:`automap_intercepting_columns` -
- in the :ref:`automap_toplevel` documentation
+ ref_automap_intercepting_columns -
+ in the ref_automap_toplevel documentation
- :ref:`metadata_reflection_dbagnostic_types` - in
- the :ref:`metadata_reflection_toplevel` documentation
+ ref_metadata_reflection_dbagnostic_types - in
+ the ref_metadata_reflection_toplevel documentation
"""
diff --git a/lib/sqlalchemy/sql/functions.py b/lib/sqlalchemy/sql/functions.py
index 30ef0b7e3..0b8fd626c 100644
--- a/lib/sqlalchemy/sql/functions.py
+++ b/lib/sqlalchemy/sql/functions.py
@@ -276,7 +276,7 @@ class FunctionElement(Executable, ColumnElement[_T], FromClause, Generative):
:ref:`tutorial_functions_table_valued` - in the :ref:`unified_tutorial`
- :ref:`postgresql_table_valued` - in the :ref:`postgresql_toplevel` documentation
+ ref_postgresql_table_valued - in the :ref:`postgresql_toplevel` documentation
:meth:`_functions.FunctionElement.scalar_table_valued` - variant of
:meth:`_functions.FunctionElement.table_valued` which delivers the
@@ -336,7 +336,7 @@ class FunctionElement(Executable, ColumnElement[_T], FromClause, Generative):
:ref:`tutorial_functions_column_valued` - in the :ref:`unified_tutorial`
- :ref:`postgresql_column_valued` - in the :ref:`postgresql_toplevel` documentation
+ ref_postgresql_column_valued - in the :ref:`postgresql_toplevel` documentation
:meth:`_functions.FunctionElement.table_valued`
@@ -840,7 +840,7 @@ class _FunctionGenerator:
Functions which are interpreted as "generic" functions know how to
calculate their return type automatically. For a listing of known generic
- functions, see :ref:`generic_functions`.
+ functions, see ref_generic_functions.
.. note::
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index 352e5b62d..fbc0153f6 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -1521,7 +1521,7 @@ class ColumnOperators(Operators):
.. versionchanged:: 2.0 ``plainto_tsquery()`` is used instead
of ``to_tsquery()`` for PostgreSQL now; for compatibility with
- other forms, see :ref:`postgresql_match`.
+ other forms, see ref_postgresql_match.
* MySQL - renders ``MATCH (x) AGAINST (y IN BOOLEAN MODE)``
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py
index 192096469..fa2110947 100644
--- a/lib/sqlalchemy/sql/schema.py
+++ b/lib/sqlalchemy/sql/schema.py
@@ -590,11 +590,11 @@ class Table(
.. seealso::
- :ref:`metadata_reflection_toplevel`
+ ref_metadata_reflection_toplevel
:meth:`_events.DDLEvents.column_reflect`
- :ref:`metadata_reflection_dbagnostic_types`
+ ref_metadata_reflection_dbagnostic_types
:param extend_existing: When ``True``, indicates that if this
:class:`_schema.Table` is already present in the given
@@ -662,7 +662,7 @@ class Table(
In modern SQLAlchemy there is generally no reason to alter this
setting, except for some backend specific cases
- (see :ref:`mssql_triggers` in the SQL Server dialect documentation
+ (see ref_mssql_triggers in the SQL Server dialect documentation
for one such example).
:param include_columns: A list of strings indicating a subset of
@@ -1699,7 +1699,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_T]):
to render the special SQLite keyword ``AUTOINCREMENT``
is not included as this is unnecessary and not recommended
by the database vendor. See the section
- :ref:`sqlite_autoincrement` for more background.
+ ref_sqlite_autoincrement for more background.
* Oracle - The Oracle dialect has no default "autoincrement"
feature available at this time, instead the :class:`.Identity`
construct is recommended to achieve this (the :class:`.Sequence`
@@ -1755,7 +1755,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_T]):
.. seealso::
- :ref:`metadata_defaults_toplevel`
+ ref_metadata_defaults_toplevel
:param doc: optional String that can be used by the ORM or similar
to document attributes on the Python side. This attribute does
@@ -1852,7 +1852,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_T]):
.. seealso::
- :ref:`metadata_defaults` - complete discussion of onupdate
+ ref_metadata_defaults - complete discussion of onupdate
:param primary_key: If ``True``, marks this column as a primary key
column. Multiple columns can have this flag set to specify
@@ -1915,7 +1915,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_T]):
.. seealso::
- :ref:`server_defaults` - complete discussion of server side
+ ref_server_defaults - complete discussion of server side
defaults
:param server_onupdate: A :class:`.FetchedValue` instance
@@ -1929,12 +1929,12 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_T]):
.. warning:: This directive **does not** currently produce MySQL's
"ON UPDATE CURRENT_TIMESTAMP()" clause. See
- :ref:`mysql_timestamp_onupdate` for background on how to
+ ref_mysql_timestamp_onupdate for background on how to
produce this clause.
.. seealso::
- :ref:`triggered_columns`
+ ref_triggered_columns
:param quote: Force quoting of this column's name on or off,
corresponding to ``True`` or ``False``. When left at its default
@@ -3681,7 +3681,7 @@ class Sequence(HasSchemaAttr, IdentityOptions, DefaultGenerator):
.. seealso::
- :ref:`defaults_sequences`
+ ref_defaults_sequences
:class:`.CreateSequence`
@@ -3955,7 +3955,7 @@ class FetchedValue(SchemaEventTarget):
.. seealso::
- :ref:`triggered_columns`
+ ref_triggered_columns
"""
@@ -5140,13 +5140,13 @@ class Index(
:ref:`schema_indexes` - General information on :class:`.Index`.
- :ref:`postgresql_indexes` - PostgreSQL-specific options available for
+ ref_postgresql_indexes - PostgreSQL-specific options available for
the :class:`.Index` construct.
- :ref:`mysql_indexes` - MySQL-specific options available for the
+ ref_mysql_indexes - MySQL-specific options available for the
:class:`.Index` construct.
- :ref:`mssql_indexes` - MSSQL-specific options available for the
+ ref_mssql_indexes - MSSQL-specific options available for the
:class:`.Index` construct.
"""
@@ -5676,13 +5676,13 @@ class MetaData(HasSchemaAttr):
.. seealso::
- :ref:`metadata_reflection_toplevel`
+ ref_metadata_reflection_toplevel
:meth:`_events.DDLEvents.column_reflect` - Event used to customize
the reflected columns. Usually used to generalize the types using
:meth:`_types.TypeEngine.as_generic`
- :ref:`metadata_reflection_dbagnostic_types` - describes how to
+ ref_metadata_reflection_dbagnostic_types - describes how to
reflect tables using general types.
"""
diff --git a/lib/sqlalchemy/sql/sqltypes.py b/lib/sqlalchemy/sql/sqltypes.py
index 4e7514e38..60ca40a50 100644
--- a/lib/sqlalchemy/sql/sqltypes.py
+++ b/lib/sqlalchemy/sql/sqltypes.py
@@ -1775,7 +1775,7 @@ class PickleType(TypeDecorator[object]):
a serialized binary field.
To allow ORM change events to propagate for elements associated
- with :class:`.PickleType`, see :ref:`mutable_toplevel`.
+ with :class:`.PickleType`, see ref_mutable_toplevel.
"""
diff --git a/lib/sqlalchemy/sql/type_api.py b/lib/sqlalchemy/sql/type_api.py
index 5af12cb93..e031c5efa 100644
--- a/lib/sqlalchemy/sql/type_api.py
+++ b/lib/sqlalchemy/sql/type_api.py
@@ -863,7 +863,7 @@ class TypeEngine(Visitable, Generic[_T]):
.. seealso::
- :ref:`metadata_reflection_dbagnostic_types` - describes the
+ ref_metadata_reflection_dbagnostic_types - describes the
use of :meth:`_types.TypeEngine.as_generic` in conjunction with
the :meth:`_sql.DDLEvents.column_reflect` event, which is its
intended use.