custom方法

custom(self, field_index, operator_type1, criteria1)

使用 custom 标准过滤列表。


def custom(self, field_index, operator_type1, criteria1):
    ...
范围类型描述
field_indexint过滤器所基于的字段的整数偏移量
(从列表左侧开始;最左边的字段是字段 0)。
operator_type1FilterOperatorType过滤运算符类型
criteria1any自定义标准

custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2)

使用 custom 标准过滤列表。


def custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2):
    ...
范围类型描述
field_indexint过滤器所基于的字段的整数偏移量
(从列表左侧开始;最左边的字段是字段 0)。
operator_type1FilterOperatorType过滤运算符类型
criteria1any自定义标准
is_andbool
operator_type2FilterOperatorType过滤运算符类型
criteria2any自定义标准

也可以看看