summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/declarative.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-09-03 18:01:59 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-09-03 18:01:59 -0400
commit904466a29320844ccc164bad4699198d3916159d (patch)
treee5aee78a187485fbdfbc19fce47ef5a65bbde797 /lib/sqlalchemy/ext/declarative.py
parent1dc927f16c72aa72f09f72ae879b4cfdc630f672 (diff)
parent6e83926657057c97239bef114e640f2b102be02c (diff)
downloadsqlalchemy-904466a29320844ccc164bad4699198d3916159d.tar.gz
merge latest tip
Diffstat (limited to 'lib/sqlalchemy/ext/declarative.py')
-rwxr-xr-xlib/sqlalchemy/ext/declarative.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/declarative.py b/lib/sqlalchemy/ext/declarative.py
index 6ecff34bb..475bb9e3a 100755
--- a/lib/sqlalchemy/ext/declarative.py
+++ b/lib/sqlalchemy/ext/declarative.py
@@ -251,7 +251,8 @@ Similarly, :func:`comparable_using` is a front end for the
Defining SQL Expressions
========================
-The usage of :func:`.column_property` with Declarative is
+The usage of :func:`.column_property` with Declarative to define
+load-time, mapped SQL expressions is
pretty much the same as that described in
:ref:`mapper_sql_expressions`. Local columns within the same
class declaration can be referenced directly::
@@ -364,7 +365,9 @@ and simply pass it to declarative classes::
Some configuration schemes may find it more appropriate to use ``__table__``,
such as those which already take advantage of the data-driven nature of
-:class:`.Table` to customize and/or automate schema definition.
+:class:`.Table` to customize and/or automate schema definition. See
+the wiki example `NamingConventions <http://www.sqlalchemy.org/trac/wiki/UsageRecipes/NamingConventions>`_
+for one such example.
Mapper Configuration
====================