Commit Graph

16 Commits

Author SHA1 Message Date
Jacob Williams 21361687e9 Add functions to register update, commit, and rollback hooks. 2016-09-10 20:00:19 -05:00
A.N 17a684694a Example program for the new SetTrace()
Does INSERT, then SELECT on the inserted rows (in-memory database).
The purpose of all these is to cause activity so there will be trace
messages to display. Trace message formatting is included
(a useful format, with explanations).
2016-09-07 23:48:36 +09:00
Stani ed21175288 add missing error checking to simple example 2016-04-14 20:56:02 +02:00
Yasuhiro Matsumoto 64bb935391 remove binary file 2015-09-16 10:47:42 +09:00
mattn 0bb7f1c676 Merge pull request #229 from danderson/master
Implement support for calling Go functions from SQLite
2015-09-16 10:46:17 +09:00
David Anderson 26917df7a6 Implement support for aggregation functions implemented in Go. 2015-09-15 18:05:49 -07:00
Marc Campbell 5532d1d5ac Fix example to check the correct error value 2015-08-24 17:19:04 -07:00
gmarik 94efba9292 remove duplicated Close
since there's one already at line 51
2015-08-16 16:39:53 -04:00
Stéphane Graber 3d6c6f9345 Rename sqlite3.{c,h} to sqlite3-binding.{c,h}
This fixes the problem where when building with gccgo, sqlite3.c is
overwritten, leading to a build failure.

An alternative would have been to move sqlite3*.{c,h} to a subdirectory,
but that seems to confuse the linker a fair bit and would just swap one
implementation-dependent issue for another.

Closes #20

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2015-03-11 16:19:50 -04:00
tonio3l 0cdea24bc7 Update simple.go (very small change)
Renaming the string "sql" into "sqlStmt" in order to prevent mixing with package types & functions sql.* in future edits or code reuse.
2014-07-29 11:46:30 -07:00
mattn e52d4b08c1 Add backup. Close #104 2014-01-30 19:45:24 +09:00
mattn 79fb9332c1 Add example that query github repositories 2014-01-23 10:56:01 +09:00
mattn 1c16dbe609 rename 2013-09-12 09:40:57 +09:00
mattn d4673cd31c Implements Execer 2013-09-09 10:44:44 +09:00
mattn 75ef7d6c67 Add Makefile 2013-08-30 22:28:22 +09:00
mattn 501b1ea772 mv 2013-08-28 14:50:02 +09:00