# Allow duplicate toc entries.
# epub_tocdup = True
+
+
+def setup(app): # noqa: U100
+ """Sphinx setup hook to configure documentation build."""
+
+ # delete class attributes with a value, where the value has ``__doc__``
+ # defined, but we want to see only the docstring under the attribute
+ # itself.
+ from sqlalchemy.ext.asyncio import AsyncSession
+
+ del AsyncSession.sync_session_class
parameter set.
For example, on SQL Server when an auto incrementing ``IDENTITY`` column is
-used as the primary key, the following SQL form is used:
+used as the primary key, the following SQL form is used [#]_:
.. sourcecode:: sql
.. seealso::
+
.. [#]
- * Microsoft SQL Server rationale
+ * Microsoft SQL Server rationale
+
+ "INSERT queries that use SELECT with ORDER BY to populate rows guarantees
+ how identity values are computed but not the order in which the rows are inserted."
+ https://learn.microsoft.com/en-us/sql/t-sql/statements/insert-transact-sql?view=sql-server-ver16#limitations-and-restrictions
- "INSERT queries that use SELECT with ORDER BY to populate rows guarantees
- how identity values are computed but not the order in which the rows are inserted."
- https://learn.microsoft.com/en-us/sql/t-sql/statements/insert-transact-sql?view=sql-server-ver16#limitations-and-restrictions
+ .. [#]
- * PostgreSQL batched INSERT Discussion
+ * PostgreSQL batched INSERT Discussion
- Original description in 2018 https://www.postgresql.org/message-id/29386.1528813619@sss.pgh.pa.us
+ Original description in 2018 https://www.postgresql.org/message-id/29386.1528813619@sss.pgh.pa.us
- Follow up in 2023 - https://www.postgresql.org/message-id/be108555-da2a-4abc-a46b-acbe8b55bd25%40app.fastmail.com
+ Follow up in 2023 - https://www.postgresql.org/message-id/be108555-da2a-4abc-a46b-acbe8b55bd25%40app.fastmail.com
.. [#]
- * MariaDB AUTO_INCREMENT behavior (using the same InnoDB engine as MySQL):
+ * MariaDB AUTO_INCREMENT behavior (using the same InnoDB engine as MySQL)
+
+ https://dev.mysql.com/doc/refman/8.0/en/innodb-auto-increment-handling.html
- https://dev.mysql.com/doc/refman/8.0/en/innodb-auto-increment-handling.html
+ https://dba.stackexchange.com/a/72099
- https://dba.stackexchange.com/a/72099
.. _engine_insertmanyvalues_non_batch:
.. autoclass:: Select
:members:
:inherited-members: ClauseElement
- :exclude-members: memoized_attribute, memoized_instancemethod, append_correlation, append_column, append_prefix, append_whereclause, append_having, append_from, append_order_by, append_group_by
+ :exclude-members: __new__, memoized_attribute, memoized_instancemethod, append_correlation, append_column, append_prefix, append_whereclause, append_having, append_from, append_order_by, append_group_by
.. autoclass:: Selectable
.. autoclass:: SelectBase
:members:
:inherited-members: ClauseElement
- :exclude-members: memoized_attribute, memoized_instancemethod
+ :exclude-members: __new__, memoized_attribute, memoized_instancemethod
.. autoclass:: Subquery
:members: