go-sqlite3
go-sqlite3 copied to clipboard
Add function to register wal hook
I have the use case of adding a custom wal hook. This PR adds support for registering a WAL hook on a connection via a new method:
func (c *SQLiteConn) RegisterWalHook(callback func(dbName string, nPages int) int)