OINO TS
    Preparing search index...

    Class OINODatetimeDataField

    Specialised class for a datetime column.

    Hierarchy (View Summary)

    Index
    datasource: OINODataSource

    OINO data source reference

    fieldParams: OINODataFieldParams

    Parameters for the field

    maxLength: number

    Maximum length of the field (or 0)

    name: string

    Name of the field

    nativeType: string

    SQL type of the field

    type: string

    Internal type of field

    • Serialize cell value in the given content format.

      Parameters

      • cellVal: OINODataCell

        cell value

      • locale: DateTimeFormat

        locale-object to format datetimes with

      Returns string

    • Convert a (non-null) cell value to a string. Primitives use toString(), but drivers can return structured values for native types without a dedicated field class (e.g. parsed JSON objects/arrays, geometry objects), which would otherwise become "[object Object]". Those are printed as JSON, dates as ISO strings and binary data as base64.

      Parameters

      Returns string