Documentation
    Preparing search index...
    • Builds a Drizzle ORM SQL condition that filters a date column to a range.

      • Both dates provided → BETWEEN earlyDate AND laterDate
      • Only earlyDatecolumn > earlyDate
      • Only laterDatecolumn < laterDate
      • Neither → undefined

      Parameters

      • column: Column

        The Drizzle ORM column to filter on.

      • OptionalearlyDate: Date

        Optional lower bound (inclusive start) of the date range.

      • OptionallaterDate: Date

        Optional upper bound (inclusive end) of the date range.

      Returns SQL<unknown> | undefined

      A Drizzle ORM SQL condition, or undefined when no dates are provided.