diff options
Diffstat (limited to 'sqlite3_opt_preupdate.go')
-rw-r--r-- | sqlite3_opt_preupdate.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sqlite3_opt_preupdate.go b/sqlite3_opt_preupdate.go new file mode 100644 index 0000000..a1fe92d --- /dev/null +++ b/sqlite3_opt_preupdate.go @@ -0,0 +1,18 @@ +// Copyright (C) 2019 G.J.R. Timmer <gjr.timmer@gmail.com>. +// Copyright (C) 2018 segment.com <friends@segment.com> + +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. + +package sqlite3 + +// SQLitePreUpdateData represents all of the data available during a +// pre-update hook call. +type SQLitePreUpdateData struct { + Conn *SQLiteConn + Op int + DatabaseName string + TableName string + OldRowID int64 + NewRowID int64 +} |