aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Butler <corey@coreybutler.com>2022-04-22 21:40:05 -0500
committermattn <mattn.jp@gmail.com>2022-04-23 14:23:00 +0900
commitc1379fcb35b04245e9ee83d03da7b30a9c511b0a (patch)
tree796a17823c3a48c1bd018dc61a6642733281dbee
parentUpdate amalgamation (diff)
downloadgolite-c1379fcb35b04245e9ee83d03da7b30a9c511b0a.tar.gz
golite-c1379fcb35b04245e9ee83d03da7b30a9c511b0a.tar.xz
Update sqlite3_opt_preupdate_hook.go
-rw-r--r--sqlite3_opt_preupdate_hook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite3_opt_preupdate_hook.go b/sqlite3_opt_preupdate_hook.go
index b2e18bb..b43e482 100644
--- a/sqlite3_opt_preupdate_hook.go
+++ b/sqlite3_opt_preupdate_hook.go
@@ -33,7 +33,7 @@ import (
// The callback is passed a SQLitePreUpdateData struct with the data for
// 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
// without creating a new one.
func (c *SQLiteConn) RegisterPreUpdateHook(callback func(SQLitePreUpdateData)) {