| 1 |
// Copyright (C) 2019 G.J.R. Timmer <[email protected]>. |
| 2 |
// Copyright (C) 2018 segment.com <[email protected]> |
| 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 |
|
| 9 |
package sqlite3 |
| 10 |
|
| 11 |
// SQLitePreUpdateData represents all of the data available during a |
| 12 |
// pre-update hook call. |
| 13 |
type SQLitePreUpdateData struct { |
| 14 |
Conn *SQLiteConn |
| 15 |
Op int |
| 16 |
DatabaseName string |
| 17 |
TableName string |
| 18 |
OldRowID int64 |
| 19 |
NewRowID int64 |
| 20 |
} |