From 2ea5857c0eb3179b078ce5fb881ace11eb28f285 Mon Sep 17 00:00:00 2001 From: "G.J.R. Timmer" Date: Wed, 21 Aug 2019 23:04:45 +0200 Subject: Closes #597 --- sqlite3_opt_preupdate.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sqlite3_opt_preupdate.go (limited to 'sqlite3_opt_preupdate.go') 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 . +// Copyright (C) 2018 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 +} -- cgit v1.2.3