Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SqlRowMetadata

Index

Methods

findColumn

  • findColumn(columnName: string): number
  • Find index of the column with the given name. Returned index can be used to get column value from SqlRow.

    throws

    IllegalArgumentError is thrown if columnName is not string.

    Parameters

    • columnName: string

    Returns number

    Column index. If a column is not found, -1 is returned.

getColumn

  • Gets column metadata of column with given index.

    Parameters

    • index: number

    Returns SqlColumnMetadata

    SqlColumnMetadata of column with this index, undefined if column is not found.

getColumnCount

  • getColumnCount(): number
  • Gets the number of columns in the row.

    Returns number

    column count

getColumns

  • Get column metadata objects.

    Returns SqlColumnMetadata[]

    this row's SqlColumnMetadata objects.

Generated using TypeDoc