kysely
    Preparing search index...

    Interface MysqlDialectConfig

    interface MysqlDialectConfig {
        onCreateConnection?: (connection: DatabaseConnection) => Promise<void>;
        onReserveConnection?: (connection: DatabaseConnection) => Promise<void>;
        pool: MysqlPool | (() => Promise<MysqlPool>);
    }
    Index

    Properties

    onCreateConnection?: (connection: DatabaseConnection) => Promise<void>

    Called once for each created connection.

    onReserveConnection?: (connection: DatabaseConnection) => Promise<void>

    Called every time a connection is acquired from the connection pool.

    pool: MysqlPool | (() => Promise<MysqlPool>)

    A mysql2 Pool instance or a function that returns one.

    If a function is provided, it's called once when the first query is executed.

    https://github.com/sidorares/node-mysql2#using-connection-pools