summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-13 16:18:12 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-13 16:18:12 -0400
commit37fad88b84db61fba0a09a1c76bcf95d055aa6e2 (patch)
tree9a671d59f31ee6b24c62814376d3178a916c5f13 /lib/sqlalchemy/schema.py
parentd9b5991f9c21836e1d48555b949a402fc4ce6b35 (diff)
downloadsqlalchemy-37fad88b84db61fba0a09a1c76bcf95d055aa6e2.tar.gz
move the whole thing to TypeEngine. the feature is pretty much for free like this.
Diffstat (limited to 'lib/sqlalchemy/schema.py')
-rw-r--r--lib/sqlalchemy/schema.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py
index 683a93d98..e79e12f7b 100644
--- a/lib/sqlalchemy/schema.py
+++ b/lib/sqlalchemy/schema.py
@@ -765,12 +765,6 @@ class Column(SchemaItem, expression.ColumnClause):
setups, such as the one demonstrated in the ORM documentation
at :ref:`post_update`.
- :param comparator_factory: a :class:`.operators.ColumnOperators` subclass
- which will produce custom operator behavior.
-
- .. versionadded: 0.8 support for pluggable operators in
- core column expressions.
-
:param default: A scalar, Python callable, or
:class:`~sqlalchemy.sql.expression.ClauseElement` representing the
*default value* for this column, which will be invoked upon insert
@@ -891,9 +885,7 @@ class Column(SchemaItem, expression.ColumnClause):
no_type = type_ is None
- super(Column, self).__init__(name, None, type_,
- comparator_factory=
- kwargs.pop('comparator_factory', None))
+ super(Column, self).__init__(name, None, type_)
self.key = kwargs.pop('key', name)
self.primary_key = kwargs.pop('primary_key', False)
self.nullable = kwargs.pop('nullable', not self.primary_key)
@@ -1082,7 +1074,6 @@ class Column(SchemaItem, expression.ColumnClause):
name=self.name,
type_=self.type,
key = self.key,
- comparator_factory = self.comparator_factory,
primary_key = self.primary_key,
nullable = self.nullable,
unique = self.unique,
@@ -1121,7 +1112,6 @@ class Column(SchemaItem, expression.ColumnClause):
key = key if key else name if name else self.key,
primary_key = self.primary_key,
nullable = self.nullable,
- comparator_factory = self.comparator_factory,
quote=self.quote, _proxies=[self], *fk)
except TypeError, e:
# Py3K