diff options
Diffstat (limited to 'doc/build/orm/loading_relationships.rst')
-rw-r--r-- | doc/build/orm/loading_relationships.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/orm/loading_relationships.rst b/doc/build/orm/loading_relationships.rst index 941edce2c..bfc5b669e 100644 --- a/doc/build/orm/loading_relationships.rst +++ b/doc/build/orm/loading_relationships.rst @@ -447,7 +447,7 @@ option. This option is used in the same manner as the :func:`~sqlalchemy.orm.joinedload()` option except it is assumed that the :class:`~sqlalchemy.orm.query.Query` will specify the appropriate joins explicitly. Below, we specify a join between ``User`` and ``Address`` -and addtionally establish this as the basis for eager loading of ``User.addresses``:: +and additionally establish this as the basis for eager loading of ``User.addresses``:: class User(Base): __tablename__ = 'user' @@ -614,7 +614,7 @@ an extra SELECT:: FROM a WHERE ? = a.b_id -This SELECT is redundant becasue ``b.a`` is the same value as ``a1``. We +This SELECT is redundant because ``b.a`` is the same value as ``a1``. We can create an on-load rule to populate this for us:: from sqlalchemy import event |