go-sqlite3/sqlite3_opt_foreign_keys.go

17 lines
391 B
Go
Raw Normal View History

2019-11-18 12:03:31 +03:00
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
2018-05-29 14:43:22 +03:00
// Copyright (C) 2018 G.J.R. Timmer <gjr.timmer@gmail.com>.
2018-05-23 23:21:00 +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 sqlite_foreign_keys
// +build sqlite_foreign_keys
2018-05-23 23:21:00 +03:00
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_DEFAULT_FOREIGN_KEYS=1
#cgo LDFLAGS: -lm
*/
import "C"