between method

SQL between(
  1. ColumnOr<V> low, {
  2. required ColumnOr<V> and,
})

Row value of column is within the inclusive low to and range, lexicographically.

Implementation

SQL between(ColumnOr<V> low, {required ColumnOr<V> and}) => SQL([
      this,
      const RawSQL('BETWEEN'),
      operand(low),
      const RawSQL('AND'),
      operand(and),
    ]);