Home > doofinder > QueryFilter > setMany

QueryFilter.setMany() method

Set multiple filters at once.

Signature:

setMany(data: Record<string, any>, replace?: boolean): void;

Parameters

Parameter Type Description
data Record<string, any> An object with all the filters to be set.
replace boolean Boolean value telling whether to replace any existing filter or not.

Returns:

void