Commit Graph

23 Commits

Author SHA1 Message Date
Conor Branagan 9efa963d05 [vtable] Rename Context to SQLiteContext
To not conflict with core "context" package naming.
2017-03-04 18:37:04 -05:00
Conor Branagan 618e784627 [vtable] Add pure Go example of GitHub repo vtable. 2017-03-04 18:10:02 -05:00
mattn c2ab9a4ac8 Merge pull request #279 from otoolep/src_dst_swapped
Source and destination are reversed
2017-03-01 15:57:43 +09:00
Yasuhiro Matsumoto b59c804b1d dummy constants 2017-01-11 01:18:51 +09:00
Yasuhiro Matsumoto efea85cb9a fixes #368 2017-01-10 00:40:58 +09:00
Graeme Connell 341bfcf7f1 Fix example import to point to mattn repo. 2016-11-11 09:50:05 -07: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
Philip O'Toole baa815b31d Fix reversed source and destination names 2016-02-28 11:51:49 -08:00
Philip O'Toole 960d6a342a Alphabetical imports 2016-02-28 11:51:49 -08: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