]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The "primaryjoin" model has been stretched a bit further to allow
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 19 Apr 2014 22:49:58 +0000 (18:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 19 Apr 2014 22:49:58 +0000 (18:49 -0400)
commit7303b59b00ef0f6f9332dd0362084e092c5d5acc
treea981d23bd38d8213d610a277f665af8fa50c4365
parentc33d0378802abbc729de55ba205a4309e5d68f6b
- The "primaryjoin" model has been stretched a bit further to allow
a join condition that is strictly from a single column to itself,
translated through some kind of SQL function or expression.  This
is kind of experimental, but the first proof of concept is a
"materialized path" join condition where a path string is compared
to itself using "like".   The :meth:`.Operators.like` operator has
also been added to the list of valid operators to use in a primaryjoin
condition.  fixes #3029
doc/build/changelog/changelog_09.rst
doc/build/orm/relationships.rst
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/sql/operators.py
test/orm/test_rel_fn.py
test/orm/test_relationships.py