Class OINODbDataField

Base class for a column of data responsible for appropriatelly serializing/deserializing the data.

Hierarchy (view full)

Constructors

  • Constructor for a data field

    Parameters

    • db: OINODb

      OINODb reference

    • name: string

      name of the field

    • type: string

      internal type of the field

    • sqlType: string

      column type in database

    • fieldParams: OINODbDataFieldParams

      parameters of the field

    • maxLength: number = 0

      maximum length of the field (or 0)

    Returns OINODbDataField

Properties

db: OINODb

OINODB reference

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

  • Pring debug information for the field

    Parameters

    • length: number = 0

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

    Returns string