Ponconnect
Bun

property

SQL.PostgresOrMySQLOptions.onconnect

onconnect?: (err: null | Error) => void

Callback executed when a connection attempt completes Receives an Error on failure, or null on success.