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 operator

New in version 1.1.