sqlite3_opt_foreign_keys.go
raw| 1 | // Copyright (C) 2019 Yasuhiro Matsumoto <[email protected]>. |
| 2 | // Copyright (C) 2018 G.J.R. Timmer <[email protected]>. |
| 3 | // |
| 4 | // Use of this source code is governed by an MIT-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | //go:build sqlite_foreign_keys |
| 8 | |
| 9 | package sqlite3 |
| 10 | |
| 11 | /* |
| 12 | #cgo CFLAGS: -DSQLITE_DEFAULT_FOREIGN_KEYS=1 |
| 13 | #cgo LDFLAGS: -lm |
| 14 | */ |
| 15 | import "C" |