AAI SDK
    Preparing search index...

    Type Alias CloseableDb

    CloseableDb: Db & { close(): Promise<void> }

    A Db whose underlying connection pool the caller owns and must close.

    Type Declaration

    • close: function
      • Drain and close the connection pool. The handle must not be used after.

        Returns Promise<void>