dbbase.column_types.WriteOnlyColumn.any_¶
-
WriteOnlyColumn.
any_
()¶ Produce a
_expression.any_()
clause against the parent object.This operator is only appropriate against a scalar subquery object, or for some backends an column expression that is against the ARRAY type, e.g.:
# postgresql '5 = ANY (somearray)' expr = 5 == mytable.c.somearray.any_() # mysql '5 = ANY (SELECT value FROM table)' expr = 5 == select([table.c.value]).as_scalar().any_()
See also
_expression.any_()
- standalone version_expression.all_()
- ALL operatorNew in version 1.1.