1 // Copyright (C) 2019 G.J.R. Timmer <gjr.timmer@gmail.com>.
2 // Copyright (C) 2018 segment.com <friends@segment.com>
3 //
4 // Use of this source code is governed by an MIT-style
5 // license that can be found in the LICENSE file.
6 7 //go:build cgo
8 // +build cgo
9 10 package sqlite3
11 12 // SQLitePreUpdateData represents all of the data available during a
13 // pre-update hook call.
14 type SQLitePreUpdateData struct {
15 Conn *SQLiteConn
16 Op int
17 DatabaseName string
18 TableName string
19 OldRowID int64
20 NewRowID int64
21 }
22