]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Update cascades.rst (#10918)
authorGord Thompson <gord@gordthompson.com>
Tue, 23 Jan 2024 19:22:32 +0000 (12:22 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Jan 2024 19:22:32 +0000 (20:22 +0100)
"delete-cascade" → "delete-orphan"

doc/build/orm/cascades.rst

index 4c1e365ef7d2940f54552f8f2fa485690fda62fe..20f96001e33f5244257f6514b367538823add400 100644 (file)
@@ -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