The type of the value to filter
// Get all users with an age between 20 and 30
const query = User.filter({ age: BetweenFilter(20, 30) })
// Get all users with an age between 20 and 30, excluding 20 and 30
const query = User.filter({ age: BetweenFilter(20, 30, true, true) })
// It is also used for custom indexes
const query = User.withIndex('age', Between(10, 10))
A filter that checks if a value is between two values.