Update sqlite3_opt_preupdate_hook.go
parent
2df077b74c
commit
c1379fcb35
|
@ -33,7 +33,7 @@ import (
|
||||||
// The callback is passed a SQLitePreUpdateData struct with the data for
|
// The callback is passed a SQLitePreUpdateData struct with the data for
|
||||||
// the update, as well as methods for fetching copies of impacted data.
|
// the update, as well as methods for fetching copies of impacted data.
|
||||||
//
|
//
|
||||||
// If there is an existing update hook for this connection, it will be
|
// If there is an existing preupdate hook for this connection, it will be
|
||||||
// removed. If callback is nil the existing hook (if any) will be removed
|
// removed. If callback is nil the existing hook (if any) will be removed
|
||||||
// without creating a new one.
|
// without creating a new one.
|
||||||
func (c *SQLiteConn) RegisterPreUpdateHook(callback func(SQLitePreUpdateData)) {
|
func (c *SQLiteConn) RegisterPreUpdateHook(callback func(SQLitePreUpdateData)) {
|
||||||
|
|
Loading…
Reference in New Issue