]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
spelling fix
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Sep 2006 20:51:53 +0000 (20:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Sep 2006 20:51:53 +0000 (20:51 +0000)
doc/build/content/adv_datamapping.txt

index 6ce0dd6dd2db9e5db2b08730ac407a47111d380f..f1afd5c6ee45861fb395df56e16b61d9c9ce59df 100644 (file)
@@ -153,7 +153,7 @@ When creating relations on a mapper, most examples so far have illustrated the m
     
     mapper(Address, addresses_table)
     mapper(User, users_table, properties={
-        'boston_addreses' : relation(Address, primaryjoin=
+        'boston_addresses' : relation(Address, primaryjoin=
                     and_(users_table.c.user_id==Address.c.user_id, 
                     Addresses.c.city=='Boston'))
     })
@@ -179,7 +179,7 @@ The previous example leads in to the idea of joining against the same table mult
 
     {python}
     mapper(User, users_table, properties={
-        'boston_addreses' : relation(Address, primaryjoin=
+        'boston_addresses' : relation(Address, primaryjoin=
                     and_(users_table.c.user_id==Address.c.user_id, 
                     Addresses.c.city=='Boston')),
         'newyork_addresses' : relation(Address, primaryjoin=
@@ -349,7 +349,7 @@ An example of a mapper with a lazy load relationship, upgraded to an eager load
     
     # a 'lazy' relationship
     mapper(User, users_table, properties = {
-        'addreses':relation(mapper(Address, addresses_table), lazy=True)
+        'addresses':relation(mapper(Address, addresses_table), lazy=True)
     })
 
     # copy the mapper and convert 'addresses' to be eager