new_for_any_column


Description:

public static Filter new_for_any_column (uint column, Variant value)

Create a Filter that only includes rows from the original model which match a variant value in a given column.

A FilterModel created with this filter will be ordered in accordance with its parent model.

This method will work on any column, disregarding its schema, since the value comparison is done using equal. This means you can use this filter as a convenient fallback when there is no predefined filter for your column type if raw performance is not paramount.

Parameters:

column

The index of a column containing the string to match

value

A Variant value columns must match exactly. The matching semantics are those of equal. If value is floating the ownership will be transfered to the filter

out_filter

A pointer to an uninitialized Filter struct. This struct will zeroed and configured with the filter parameters