sqlite3_opt_preupdate.go 513 B

123456789101112131415161718192021
  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. // +build cgo
  7. package sqlite3
  8. // SQLitePreUpdateData represents all of the data available during a
  9. // pre-update hook call.
  10. type SQLitePreUpdateData struct {
  11. Conn *SQLiteConn
  12. Op int
  13. DatabaseName string
  14. TableName string
  15. OldRowID int64
  16. NewRowID int64
  17. }