Hello,
Is it possible, to have something like this:
query({
attractions: { type: [String], paths: ['attractions'], multiple: true },
categories: { type: [String], paths: ['category'], multiple: true },
search: {
type: RegExp,
paths: ['name', 'description', 'city', 'street']
}
}),
And that would I like to have, is to match all of the rules, for example, if attractions and categories are specified, I'd like to have only objects which match both of the rules.
Same for search functionality, both filters should be applied (attractions and categories), then the search regex.
Hello,
Is it possible, to have something like this:
And that would I like to have, is to match all of the rules, for example, if attractions and categories are specified, I'd like to have only objects which match both of the rules.
Same for search functionality, both filters should be applied (attractions and categories), then the search regex.