Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WhereColumnOptions

Options to use for a condition.

Hierarchy

  • WhereColumnOptions

Index

Properties

column

column: string

The column to apply this condition on.

Optional endsWith

endsWith: string

Whether the column row value ends with a string

Optional equals

equals: string | number

Whether the column must be equal to a number or string.

Optional greater

greater: number

Whether the column must be greater than a number.

Optional greaterEquals

greaterEquals: number

Whether the column has to be greater than or equal to a number.

Optional in

in: (string | number)[]

Whether the column value must be included in one of the given values.

Optional includes

includes: string

Whether the column row value includes a string.

Optional lesser

lesser: number

Whether the column has to be lesser than a number.

Optional lesserEquals

lesserEquals: number

Whether the column has to be lesser than or equal to a number.

Optional not

not: boolean

Whether to check the opposite for this condition.

Optional notEqual

notEqual: string | number

Whether the column row value is not equal to a number or string

Optional or

or: boolean

Whether to make this a OR condition.

Optional startsWith

startsWith: string

Whether the column row value starts with a string.

Generated using TypeDoc