summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-11-30 16:31:16 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-11-30 16:31:16 +0000
commit72859dd13b5ade9f9204ef1c37aafcbf9655085b (patch)
tree8e73f8d2740c89c211cf603e8058c43760a6dea7 /lib/sqlalchemy
parent7ea4fca4ed2c1fe04bcf13ccf476dd2aab750418 (diff)
downloadsqlalchemy-72859dd13b5ade9f9204ef1c37aafcbf9655085b.tar.gz
primaryjoin/secondaryjoin accept ColumnElement, docs, [ticket:1622]
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/orm/__init__.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sqlalchemy/orm/__init__.py b/lib/sqlalchemy/orm/__init__.py
index dc212539f..e8e9b111d 100644
--- a/lib/sqlalchemy/orm/__init__.py
+++ b/lib/sqlalchemy/orm/__init__.py
@@ -377,11 +377,11 @@ def relation(argument, secondary=None, **kwargs):
use ``post_update`` to "break" the cycle.
:param primaryjoin:
- a ClauseElement that will be used as the primary join of this
- child object against the parent object, or in a many-to-many
- relationship the join of the primary object to the association
- table. By default, this value is computed based on the foreign
- key relationships of the parent and child tables (or association
+ a ColumnElement (i.e. WHERE criterion) that will be used as the primary
+ join of this child object against the parent object, or in a
+ many-to-many relationship the join of the primary object to the
+ association table. By default, this value is computed based on the
+ foreign key relationships of the parent and child tables (or association
table).
:param remote_side:
@@ -389,9 +389,9 @@ def relation(argument, secondary=None, **kwargs):
list of columns that form the "remote side" of the relationship.
:param secondaryjoin:
- a ClauseElement that will be used as the join of an association
- table to the child object. By default, this value is computed
- based on the foreign key relationships of the association and
+ a ColumnElement (i.e. WHERE criterion) that will be used as the join of
+ an association table to the child object. By default, this value is
+ computed based on the foreign key relationships of the association and
child tables.
:param single_parent=(True|False):