Skip to main content

DateFilter

A filter to be used against Date fields. All fields are combined with a logical ‘and.’

type DateFilter {
isNull: Boolean
equalTo: Date
notEqualTo: Date
distinctFrom: Date
notDistinctFrom: Date
in: [Date!]
notIn: [Date!]
lessThan: Date
lessThanOrEqualTo: Date
greaterThan: Date
greaterThanOrEqualTo: Date
}

Fields

isNull (Boolean)

Is null (if true is specified) or is not null (if false is specified).

equalTo (Date)

Equal to the specified value.

notEqualTo (Date)

Not equal to the specified value.

distinctFrom (Date)

Not equal to the specified value, treating null like an ordinary value.

notDistinctFrom (Date)

Equal to the specified value, treating null like an ordinary value.

in ([Date!])

Included in the specified list.

notIn ([Date!])

Not included in the specified list.

lessThan (Date)

Less than the specified value.

lessThanOrEqualTo (Date)

Less than or equal to the specified value.

greaterThan (Date)

Greater than the specified value.

greaterThanOrEqualTo (Date)

Greater than or equal to the specified value.