go-sqlite3/sqlite3_opt_preupdate.go

22 lines
528 B
Go
Raw Permalink Normal View History

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