go-sqlite3/sqlite3_opt_foreign_keys.go

16 lines
360 B
Go
Raw Permalink 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.
// +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"