OINO TS
    Preparing search index...

    Class OINOMemoryDataset

    Generic in memory implementation of a data set where data is an array of rows. Used by BunSqlite and automated testing. Can be rewinded.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    messages: string[]

    Error messages

    status: number

    HTTP status code

    statusText: string

    HTTP status message

    success: boolean

    Wheter request was successfully executed

    Methods

    • Copy given messages to HTTP headers.

      Parameters

      • headers: OINOHeaders

        HTTP headers

      • copyErrors: boolean = true

        wether error messages should be copied (default true)

      • copyWarnings: boolean = false

        wether warning messages should be copied (default false)

      • copyInfos: boolean = false

        wether info messages should be copied (default false)

      • copyDebug: boolean = false

        wether debug messages should be copied (default false)

      Returns void

    • Set HTTP error status using given code and message. Returns self reference for chaining.

      Parameters

      • status: number

        HTTP status code

      • statusText: string

        HTTP status message

      • operation: string

        operation where error occured

      Returns OINOResult