summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-04-22 16:43:31 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-04-22 16:43:31 -0400
commit6560bf82f387ca53c79f91f93ae97e6594795da8 (patch)
tree2bff634e499dc64f19354818e84b0a59693bb2bc
parentf36837398c860a087533d2bd3a7b0afa9a8ba18a (diff)
downloadsqlalchemy-6560bf82f387ca53c79f91f93ae97e6594795da8.tar.gz
- edits
Change-Id: If2445c4cbcd7eb18e06823e8821940a391890979
-rw-r--r--doc/build/orm/loading_relationships.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/build/orm/loading_relationships.rst b/doc/build/orm/loading_relationships.rst
index 1cebd4684..aaddb87f9 100644
--- a/doc/build/orm/loading_relationships.rst
+++ b/doc/build/orm/loading_relationships.rst
@@ -69,12 +69,11 @@ at mapping time to take place in all cases where an object of the mapped
type is loaded, in the absense of any query-level options that modify it.
This is configured using the :paramref:`.relationship.lazy` parameter to
:func:`.relationship`; common values for this parameter
-include ``select``, ``joined``, and ``subquery``.
+include ``"select"``, ``"joined"``, and ``"subquery"``.
For example, to configure a relationship to use joined eager loading when
the parent object is queried::
- # load the 'children' collection using LEFT OUTER JOIN
class Parent(Base):
__tablename__ = 'parent'
@@ -87,7 +86,7 @@ rows fetched by adding a JOIN to the query for ``Parent`` objects.
See :ref:`joined_eager_loading` for background on this style of loading.
The default value of the :paramref:`.relationship.lazy` argument is
-``select``, which indicates lazy loading. See :ref:`lazy_loading` for
+``"select"``, which indicates lazy loading. See :ref:`lazy_loading` for
further background.
.. _relationship_loader_options: