From: Gord Thompson Date: Tue, 23 Jan 2024 19:22:32 +0000 (-0700) Subject: Update cascades.rst (#10918) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0bcf95cb022934d101aa94411f320c4e3bfb6aa;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update cascades.rst (#10918) "delete-cascade" → "delete-orphan" --- diff --git a/doc/build/orm/cascades.rst b/doc/build/orm/cascades.rst index 4c1e365ef7..20f96001e3 100644 --- a/doc/build/orm/cascades.rst +++ b/doc/build/orm/cascades.rst @@ -301,7 +301,7 @@ The feature by default works completely independently of database-configured In order to integrate more efficiently with this configuration, additional directives described at :ref:`passive_deletes` should be used. -.. warning:: Note that the ORM's "delete" and "delete-cascade" behavior applies +.. warning:: Note that the ORM's "delete" and "delete-orphan" behavior applies **only** to the use of the :meth:`_orm.Session.delete` method to mark individual ORM instances for deletion within the :term:`unit of work` process. It does **not** apply to "bulk" deletes, which would be emitted using