OINO TS
    Preparing search index...

    Class OINODbBunSqlite

    Implementation of BunSqlite-database.

    Hierarchy

    • OINODb
      • OINODbBunSqlite
    Index

    Constructors

    Methods

    • Initialize a data model by getting the SQL schema and populating OINODbDataFields of the model.

      Parameters

      • api: OINODbApi

        api which data model to initialize.

      Returns Promise<void>

    • Parse a single SQL result value for serialization using the context of the native data type.

      Parameters

      • sqlValue: OINODataCell

        data from serialization

      • sqlType: string

        native type name for table column

      Returns OINODataCell

    • Print a single data value from serialization using the context of the native data type with the correct SQL escaping.

      Parameters

      • cellValue: OINODataCell

        data from sql results

      • sqlType: string

        native type name for table column

      Returns string

    • Print a column name with correct SQL escaping.

      Parameters

      • sqlColumn: string

        name of the column

      Returns string

    • Print a single string value as valid sql literal

      Parameters

      • sqlString: string

        string value

      Returns string

    • Print a table name using database specific SQL escaping.

      Parameters

      • sqlTable: string

        name of the table

      Returns string

    • Execute other sql operations.

      Parameters

      • sql: string

        SQL statement.

      Returns Promise<OINODbDataSet>

    • Execute a select operation.

      Parameters

      • sql: string

        SQL statement.

      Returns Promise<OINODbDataSet>