isBetween method

Expression<bool> isBetween(
  1. T lower,
  2. T higher
)

Create a filter to check if the column is between 2 DateTimes This is done inclusively, so the column can be equal to the lower or higher value E.G isBetween(1, 3) will return true for 1, 2, and 3

Implementation

Expression<bool> isBetween(T lower, T higher) =>
    $composableFilter(column.isBetweenValues(lower, higher));