sqlite3 driver for go using database/sql
Go to file
Serge Hallyn f91a09fb50 Add a txlock option when opening databases (v2)
When specified, changes the default locking at a tx.Begin.

Changelog (v2):
	Add a testcase to ensure _txlock is properly handled.

Closes #189

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2015-04-13 11:48:01 -05:00
_example Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
sqlite3_test Rename 2014-07-04 10:25:27 +09:00
.gitignore add .gitignore 2014-11-14 17:20:14 +09:00
.travis.yml go cover has moved 2014-11-14 00:23:32 +01:00
LICENSE Add LICENSE file 2014-08-18 16:52:12 +09:00
README.md Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
backup.go Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
doc.go Remove license header from doc.go because it appear in godoc 2014-08-18 16:58:14 +09:00
error.go Add one blank line for godoc 2014-08-18 17:00:59 +09:00
error_test.go Add test for ErrNo.Extend() 2015-01-26 18:38:13 +09:00
sqlite3-binding.c Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
sqlite3-binding.h Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
sqlite3.go Add a txlock option when opening databases (v2) 2015-04-13 11:48:01 -05:00
sqlite3_fts3_test.go Add FTS3 feature. Close #176 2015-02-24 11:28:02 +09:00
sqlite3_other.go Apply -lpthread withou windows. 2015-03-12 18:43:55 +09:00
sqlite3_test.go Add a txlock option when opening databases (v2) 2015-04-13 11:48:01 -05:00
sqlite3_windows.go Apply -lpthread withou windows. 2015-03-12 18:43:55 +09:00
sqlite3ext.h Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00

README.md

go-sqlite3

Build Status Coverage Status

Description

sqlite3 driver conforming to the built-in database/sql interface

Installation

This package can be installed with the go get command:

go get github.com/mattn/go-sqlite3

Documentation

API documentation can be found here: http://godoc.org/github.com/mattn/go-sqlite3

Examples can be found under the ./_example directory

FAQ

License

MIT: http://mattn.mit-license.org/2012

sqlite3-binding.c, sqlite3-binding.h, sqlite3ext.h

The -binding suffix was added to avoid build failures under gccgo.

In this repository, those files are amalgamation code that copied from SQLite3. The license of those codes are depend on the license of SQLite3.

Author

Yasuhiro Matsumoto (a.k.a mattn)