custom方法

custom(field_index, operator_type1, criteria1)

使用 custom 条件过滤列表。

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

custom(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自定义条件

也可以看看