OINO TS
    Preparing search index...

    Class OINONoSqlFactory

    Static factory for creating OINONoSql instances and OINONoSqlApi instances from registered provider classes.

    Usage:

    OINONoSqlFactory.registerNoSql("OINONoSqlAzureTable", OINONoSqlAzureTable)
    const nosql = await OINONoSqlFactory.createNoSql({ type: "OINONoSqlAzureTable", ... })
    const api = await OINONoSqlFactory.createApi(nosql, { apiName: "entities", tableName: "myTable" })
    Index

    Constructors

    Methods

    • Create and optionally connect/validate a nosql backend from params.

      Parameters

      • params: OINONoSqlParams

        connection parameters

      • connect: boolean = true

        if true, calls connect() on the backend

      • validate: boolean = true

        if true, calls validate() on the backend

      Returns Promise<OINONoSql>