Update, authorizer callbacks.

This commit is contained in:
Nuno Cruces
2024-01-27 10:57:46 +00:00
parent c9cc893ed7
commit 031087327d
8 changed files with 147 additions and 14 deletions

16
conn.go
View File

@@ -18,13 +18,15 @@ import (
type Conn struct {
*sqlite
interrupt context.Context
pending *Stmt
log func(code xErrorCode, msg string)
collation func(name string)
commit func() bool
rollback func()
arena arena
interrupt context.Context
pending *Stmt
log func(xErrorCode, string)
collation func(*Conn, string)
authorizer func(AuthorizerActionCode, string, string, string, string) AuthorizerReturnCode
update func(AuthorizerActionCode, string, string, int64)
commit func() bool
rollback func()
arena arena
handle uint32
}