Class OINOStringDataField

Specialised class for a string column.

Hierarchy (view full)

Constructors

  • Constructor for a string data field

    Parameters

    • db: OINODb

      OINODb reference

    • name: string

      name of the field

    • sqlType: string

      column type in database

    • fieldParams: OINODataFieldParams

      parameters of the field

    • maxLength: number

      maximum length of the field (or 0)

    Returns OINOStringDataField

Properties

db: OINODb

OINODB reference

fieldParams: OINODataFieldParams

Parameters for the field

maxLength: number

Maximum length of the field (or 0)

name: string

Name of the field

sqlType: string

SQL type of the field

type: string

Internal type of field

Methods

  • Print data cell (from deserialization) as SQL-string.

    Parameters

    Returns string

  • Pring debug information for the field

    Parameters

    • length: number = 0

      length of the debug output (or 0 for as long as needed)

    Returns string

  • Print name of column as SQL.

    Returns string

  • Serialize cell value in the given content format.

    Parameters

    Returns string