sqlite3_opt_preupdate.go 528 B

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