Update sqlite3_opt_preupdate_hook.go

json-example
Corey Butler 2022-04-22 21:40:05 -05:00 committed by mattn
parent 2df077b74c
commit c1379fcb35
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {