dbbase.column_types.WriteOnlyColumn.notin_¶
-
WriteOnlyColumn.notin_(other)¶ implement the
NOT INoperator.This is equivalent to using negation with
ColumnOperators.in_(), i.e.~x.in_(y).In the case that
otheris an empty sequence, the compiler produces an “empty not in” expression. This defaults to the expression “1 = 1” to produce true in all cases. The :paramref:`_sa.create_engine.empty_in_strategy` may be used to alter this behavior.Changed in version 1.2: The
ColumnOperators.in_()andColumnOperators.notin_()operators now produce a “static” expression for an empty IN sequence by default.See also
ColumnOperators.in_()