mysql-native v2.2.2

API Reference Home: [This Version] [Latest Version] [Other Versions]


Function MySQLPool.onNewConnection

Get/set a callback delegate to be run every time a new connection is created.

void onNewConnection (
  void delegate(Connection) onNewConnection
) @property;

void delegate(Connection) onNewConnection () @property;