Mapped column, to a column and potentially from a differently named column

Hierarchy

  • MappedColumn

Constructors

Properties

_constantValue: any

Constant value

Column data type

_defaultValue: any

Default to column value

_fromColumn: string

From column or null if the same as to column

_toColumn: string

To column

_whereOperator: string

Where value comparison operator (=, <, etc)

_whereValue: any

Where value

Accessors

  • get constantValue(): any
  • Get the constant value

    Returns

    constant value

    Returns any

  • set constantValue(constantValue: any): void
  • Set the constant value

    Parameters

    • constantValue: any

      constant value

    Returns void

  • get defaultValue(): any
  • Get the default value

    Returns

    default value

    Returns any

  • set defaultValue(defaultValue: any): void
  • Set the default value

    Parameters

    • defaultValue: any

      default value

    Returns void

  • get fromColumn(): string
  • Get the from column

    Returns

    from column

    Returns string

  • set fromColumn(fromColumn: string): void
  • Set the from column

    Parameters

    • fromColumn: string

      to column

    Returns void

  • get toColumn(): string
  • Get the to column

    Returns

    to column

    Returns string

  • set toColumn(toColumn: string): void
  • Set the to column

    Parameters

    • toColumn: string

      to column

    Returns void

  • get whereOperator(): string
  • Get the where operator

    Returns

    where operator

    Returns string

  • set whereOperator(whereOperator: string): void
  • Set the where operator

    Parameters

    • whereOperator: string

      where operator

    Returns void

Methods

  • Get the constant value as a string

    Returns

    constant value as string

    Returns string

  • Get the default value as a string

    Returns

    default value as string

    Returns string

  • Get the where value as a string

    Returns

    where value as string

    Returns string

  • Check if the column has a constant value

    Returns

    true if has a constant value

    Returns boolean

  • Check if the column has a default value

    Returns

    true if has a default value

    Returns boolean

  • Determine if the column has a new name

    Returns

    true if the to and from column names are different

    Returns boolean

  • Check if the column has a where value

    Returns

    true if has a where value

    Returns boolean

  • Set the where value

    Parameters

    • whereValue: any

      where value

    • whereOperator: string

      where operator

    Returns void

Generated using TypeDoc