summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/operators.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-18 00:54:00 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-18 00:54:00 -0400
commit515811eb582cc6d44513e19af66bf8376fd541bd (patch)
tree4f602df9be8e5cf8e2636c06dd0c160f70c7cffd /lib/sqlalchemy/sql/operators.py
parentd2ed308da38af01e23d9f4085f6b8f973994b29a (diff)
downloadsqlalchemy-515811eb582cc6d44513e19af66bf8376fd541bd.tar.gz
- fix the labeled column with column_expression() issue, finishes [ticket:1534]
- epic documentation sweep for new operator system, making ORM links consistent and complete, full documentation and examples for type/SQL expression feature - type_coerce() explicitly accepts BindParamClause objects - change UserDefinedType to coerce the other side to itself by default as this is much more likely what's desired - make coerce_compared_type() fully public on all types - have profiling run the test no matter what so that the test_zoomarks don't fail when callcounts are missing
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r--lib/sqlalchemy/sql/operators.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index ba1117ef6..07fb417fb 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -205,7 +205,8 @@ class custom_op(object):
class ColumnOperators(Operators):
- """Defines comparison and math operations.
+ """Defines boolean, comparison, and other operators for
+ :class:`.ColumnElement` expressions.
By default, all methods call down to
:meth:`.operate` or :meth:`.reverse_operate`,
@@ -229,10 +230,15 @@ class ColumnOperators(Operators):
so that the ``==`` operation above is replaced by a clause
construct.
- The docstrings here will describe column-oriented
- behavior of each operator. For ORM-based operators
- on related objects and collections, see
- :class:`.RelationshipProperty.Comparator`.
+ See also:
+
+ :ref:`types_operators`
+
+ :attr:`.TypeEngine.comparator_factory`
+
+ :class:`.ColumnOperators`
+
+ :class:`.PropComparator`
"""