Class AutoRecord

by default, the field id is rhe first member or the record

Hierarchy

Constructors

Properties

m_data: any
m_fid: string

Methods

  • get field value (as string)

    Example

    let value = record.get('field1');
    

    Parameters

    • name: string

      field name

    Returns string

  • get the record unique identifier by default the return value is the first field

    Returns

    unique identifier

    Returns any

  • get raw value of a field

    Parameters

    • name: string

      field name or field index

    Returns string

  • set field value

    Example

    record.set( 'field1', 7 );
    

    Parameters

    • name: string

      field name

    • value: any

      value to set

    Returns void

Generated using TypeDoc