iya-sts
    Preparing search index...
    sqlStore: (
        options: any,
    ) => {
        close: () => any;
        count: (table: any) => Promise<number>;
        countBy: (table: any, col: any) => Promise<{}>;
        name: any;
        riskCounts: () => Promise<{}>;
        rows: (table: any, filter: any) => Promise<any>;
        schemaVersion: () => Promise<number>;
        transaction: (fn: any) => Promise<any>;
    } = sqlStore

    Type Declaration

      • (
            options: any,
        ): {
            close: () => any;
            count: (table: any) => Promise<number>;
            countBy: (table: any, col: any) => Promise<{}>;
            name: any;
            riskCounts: () => Promise<{}>;
            rows: (table: any, filter: any) => Promise<any>;
            schemaVersion: () => Promise<number>;
            transaction: (fn: any) => Promise<any>;
        }
      • Builds the store of one database over pg.

        Parameters

        • options: any

          url (the connection string, password included), verifyTls, and name ('cell' or 'global', for the log)

        Returns {
            close: () => any;
            count: (table: any) => Promise<number>;
            countBy: (table: any, col: any) => Promise<{}>;
            name: any;
            riskCounts: () => Promise<{}>;
            rows: (table: any, filter: any) => Promise<any>;
            schemaVersion: () => Promise<number>;
            transaction: (fn: any) => Promise<any>;
        }

        the store