Documentation
    Preparing search index...

    Class MariaDbConnectionManager

    MariaDB Connection Manager

    Get connections, validate and disconnect them. AbstractConnectionManager pooling use it to handle MariaDB specific connections Use https://github.com/MariaDB/mariadb-connector-nodejs to connect with MariaDB server

    Hierarchy (View Summary)

    Index
    "[ConnectionType]": MariaDbConnection
    • 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>