]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
typos
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 8 Jan 2006 19:05:53 +0000 (19:05 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 8 Jan 2006 19:05:53 +0000 (19:05 +0000)
doc/build/content/adv_datamapping.myt
doc/build/content/datamapping.myt

index 0dc1a0349f612b7ab332be7dacac40628476a08d..11d492eb1f08972d205dda655758ce59639ff7ac 100644 (file)
@@ -321,7 +321,8 @@ WHERE rowcount.user_id = users.user_id ORDER BY users.oid, addresses.oid
 
 
 <&|doclib.myt:item, name="inheritance", description="Mapping a Class with Table Inheritance" &>
-    <p>Table Inheritance indicates the pattern where two tables, in a parent-child relationship, are mapped to an inheritance chain of classes.  If a table "employees" contains additional information about managers in the table "mangaers", a corresponding object inheritance pattern would have an Employee class and a Manager class.  Loading a Mangaer object means you are joining managers to employees.  For SQLAlchemy, this pattern is just a special case of a mapper that maps against a joined relationship, and is provided via the <span class="codeline">inherits</span> keyword.
+
+    <p>Table Inheritance indicates the pattern where two tables, in a parent-child relationship, are mapped to an inheritance chain of classes.  If a table "employees" contains additional information about managers in the table "managers", a corresponding object inheritance pattern would have an Employee class and a Manager class.  Loading a Manager object means you are joining managers to employees.  For SQLAlchemy, this pattern is just a special case of a mapper that maps against a joined relationship, and is provided via the <span class="codeline">inherits</span> keyword.
     <&|formatting.myt:code&>
         class User(object):
             """a user object."""
index 3bcfe5c767a0ff9eafa8a74e562a5b8c3d6f2841..2d9347da1da2b7092c16ea3805723f26e221dc53 100644 (file)
@@ -331,7 +331,8 @@ DELETE FROM addresses WHERE addresses.address_id = :address_id
             >>> a1.user is user and a2.user is user
             True
         </&>
-<p>The backreference feature also works with many-to-many relationships, which are described later.  When creating a backreference, a corresponding property is placed on the child mapper.  This proeprty can be overridden with a custom property using the <span class="codeline">add_property</span> function:
+
++<p>The backreference feature also works with many-to-many relationships, which are described later.  When creating a backreference, a corresponding property is placed on the child mapper.  This property can be overridden with a custom property using the <span class="codeline">add_property</span> function:
         <&|formatting.myt:code&>
             Address.mapper = mapper(Address, addresses)