go-sqlite3-hak5/sqlite3_opt_preupdate.go

21 lines
513 B
Go
Raw Permalink Normal View History

2019-08-21 21:04:45 +00:00
// Copyright (C) 2019 G.J.R. Timmer <gjr.timmer@gmail.com>.
// Copyright (C) 2018 segment.com <friends@segment.com>
2019-11-18 09:03:31 +00:00
//
2019-08-21 21:04:45 +00:00
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
2019-11-18 09:03:31 +00:00
// +build cgo
2019-08-21 21:04:45 +00:00
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
}