Fixed typo

The name of the strategy is `raise_on_sql` as indicated elsewhere in the documentation.

(cherry picked from commit 6daffe5406)
This commit is contained in:
Alex Grönholm
2018-06-25 15:35:31 +03:00
committed by Mike Bayer
parent 1b4776a24d
commit e77a563032
+1 -1
View 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.