]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
typo
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 17 Oct 2006 18:12:00 +0000 (18:12 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 17 Oct 2006 18:12:00 +0000 (18:12 +0000)
doc/build/content/adv_datamapping.txt

index e46387c162ad7a397febc09a8c376700caf67f12..9e666ba2186c261726f82f55c81da4affa241af6 100644 (file)
@@ -87,7 +87,7 @@ A common request is the ability to create custom class properties that override
 It is also possible to route the the `select_by` and `get_by` functions on `Query` using the new property name, by establishing a `synonym`:
 
     {python}
-    mapper(MyClass, mytable, proeprties = {
+    mapper(MyClass, mytable, properties = {
         # map the '_email' attribute to the "email" column
         # on the table
         '_email': mytable.c.email
@@ -102,7 +102,7 @@ It is also possible to route the the `select_by` and `get_by` functions on `Quer
 Synonym can be established with the flag "proxy=True", to create a class-level proxy to the actual property:
 
     {python}
-    mapper(MyClass, mytable, proeprties = {
+    mapper(MyClass, mytable, properties = {
         '_email': mytable.c.email
         'email' : synonym('_email', proxy=True)
     })