Hi,
I’m trying to filter a field based on a min and max amount.
I can’t figure out the syntax of the between
filter:
$items = $items->filterBy('height', 'between', [5, 10]);
or
$items = $items->filterBy('height', 'between(0,10)')
doesn’t work.
From the docs:
between
or..
takes an array as parameter with two parameters; first is the min value, second is the max value