Module org.jooq
Package org.jooq.impl

Interface QOM.DateAdd<T>

All Superinterfaces:
Field<T>, FieldOrConstraint, FieldOrRow, GroupField, Named, OrderField<T>, QueryPart, SelectField<T>, SelectFieldOrAsterisk, Serializable, Typed<T>
Enclosing class:
QOM

public static interface QOM.DateAdd<T> extends Field<T>
The DATE ADD function.

Add an interval to a date.

  • Method Details

    • $date

      @NotNull @NotNull Field<T> $date()
      The date to add an interval to
    • $interval

      @NotNull @NotNull Field<? extends Number> $interval()
      The interval to add to the date
    • $datePart

      @Nullable @Nullable DatePart $datePart()
      The date part describing the interval
    • $date

      @NotNull @NotNull QOM.DateAdd<T> $date(Field<T> date)
      The date to add an interval to
    • $interval

      @NotNull @NotNull QOM.DateAdd<T> $interval(Field<? extends Number> interval)
      The interval to add to the date
    • $datePart

      @NotNull @NotNull QOM.DateAdd<T> $datePart(DatePart datePart)
      The date part describing the interval