forked from mirror/go-sqlite3
Update sqlite3_opt_preupdate_omit.go
This commit is contained in:
parent
c1379fcb35
commit
bedc2985ef
|
@ -13,7 +13,7 @@ package sqlite3
|
||||||
// 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