Skip to content

Commit e2fc6d4

Browse files
committed
Add: SQLITE_DEFAULT_FOREIGN_KEYS
1 parent 507e9be commit e2fc6d4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sqlite3_opt_foreign_keys.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Copyright (C) 2014 Yasuhiro Matsumoto <[email protected]>.
2+
//
3+
// Use of this source code is governed by an MIT-style
4+
// license that can be found in the LICENSE file.
5+
// +build foreign_keys
6+
7+
package sqlite3
8+
9+
/*
10+
#cgo CFLAGS: -DSQLITE_DEFAULT_FOREIGN_KEYS=1
11+
#cgo LDFLAGS: -lm
12+
*/
13+
import "C"

0 commit comments

Comments
 (0)