Ponclose
Bun

property

SQL.PostgresOrMySQLOptions.onclose

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

Callback executed when a connection is closed Receives the closing Error or null.