Type alias OINOApiParams

OINOApiParams: {
    excludeFieldPrefix?: string;
    excludeFields?: string[];
    failOnAutoincUpdates?: Boolean;
    failOnOversizedValues?: Boolean;
    tableName: string;
    useDatesAsString?: Boolean;
}

API parameters

Type declaration

  • Optional excludeFieldPrefix?: string

    Exclude all fields with this prefix from the API

  • Optional excludeFields?: string[]

    Exclude given fields from the API

  • Optional failOnAutoincUpdates?: Boolean

    Reject updates that contain values for autoinc-type fields

  • Optional failOnOversizedValues?: Boolean

    Reject values that exceed field max length (behaviour on such is platform dependent)

  • tableName: string

    Name of the database table

  • Optional useDatesAsString?: Boolean

    Treat date type fields as just strings and use the native formatting instead of the ISO 8601 format