v0.0.30
This commit is contained in:
10
sq/listener.go
Normal file
10
sq/listener.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package sq
|
||||
|
||||
type Listener interface {
|
||||
OnQuery(txID *uint16, sql string, params *PP)
|
||||
OnExec(txID *uint16, sql string, params *PP)
|
||||
OnPing()
|
||||
OnTxBegin(txid uint16)
|
||||
OnTxCommit(txid uint16)
|
||||
OnTxRollback(txid uint16)
|
||||
}
|
Reference in New Issue
Block a user