the implementation of "in_" for relation [ticket:1140]
well as query.join(). Note that in some scenarios the IN
clause will appear in the WHERE clause of the query as well
since this discrimination has multiple trigger points.
-
+
+ - class.someprop.in_() raises NotImplementedError pending
+ the implementation of "in_" for relation [ticket:1140]
+
- Improved the behavior of query.join() when joining to
joined-table inheritance subclasses, using explicit join
criteria (i.e. not on a relation).
def of_type(self, cls):
return PropertyLoader.Comparator(self.prop, self.mapper, cls)
-
+
+ def in_(self, other):
+ raise NotImplementedError("in_() not yet supported for relations. For a simple many-to-one, use in_() against the set of foreign key values.")
+
def __eq__(self, other):
if other is None:
if self.prop.direction in [ONETOMANY, MANYTOMANY]: