]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fixed typo
authorAlex Grönholm <alex.gronholm@nextday.fi>
Mon, 25 Jun 2018 12:35:31 +0000 (15:35 +0300)
committerGitHub <noreply@github.com>
Mon, 25 Jun 2018 12:35:31 +0000 (15:35 +0300)
The name of the strategy is `raise_on_sql` as indicated elsewhere in the documentation.

doc/build/orm/loading_relationships.rst

index 7173b40b295fea05aa87758b718caac3b6603c58..f3ee78b129bb16614c1aeb49f6e8c39d0da7ea03 100644 (file)
@@ -54,7 +54,7 @@ The primary forms of relationship loading are:
   so that all members of related collections / scalar references are loaded at once
   by primary key.  Select IN loading is detailed at :ref:`selectin_eager_loading`.
 
-* **raise loading** - available via ``lazy='raise'``, ``lazy='raise_sql'``,
+* **raise loading** - available via ``lazy='raise'``, ``lazy='raise_on_sql'``,
   or the :func:`.raiseload` option, this form of loading is triggered at the
   same time a lazy load would normally occur, except it raises an ORM exception
   in order to guard against the application making unwanted lazy loads.