go-sqlite3 icon indicating copy to clipboard operation
go-sqlite3 copied to clipboard

Add function to register wal hook

Open gfanto opened this issue 2 months ago • 0 comments

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)

gfanto avatar Sep 24 '25 20:09 gfanto