Documentation
    Preparing search index...

    Class IBMiConnectionManager

    Abstract Connection Manager

    Connection manager which handles pooling & replication. Uses sequelize-pool for pooling

    Hierarchy (View Summary)

    Index
    "[ConnectionType]": IBMiConnection
    dialect: IBMiDialect
    • get pool(): never

      Returns never

    • get sequelize(): Sequelize<Dialect>

      Returns Sequelize<Dialect>

    • Called after connect, once the connection has been registered with the pool. Override this to attach error handlers or run post-connection setup queries. If this method throws, the connection is closed with disconnect. Calling pool.destroy() on the connection from here does not throw, but it does not close the connection either: the pool only takes ownership once setup is done. To have a connection that breaks during setup closed, make validate return false for it: once setup is done, the connection is checked with validate (or the pool.validate option), and closed if the check fails.

      Parameters

      Returns Promise<void>