Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | git mv _example doc/examples/ | EuAndreh | 2024-08-14 | 6 | -329/+0 |
| | |||||
* | Remove most files from _example/ | EuAndreh | 2024-08-14 | 15 | -2305/+0 |
| | |||||
* | add example | Yasuhiro Matsumoto | 2024-01-25 | 1 | -0/+81 |
| | |||||
* | update go version to 1.19 | Yasuhiro Matsumoto | 2024-01-25 | 3 | -5/+5 |
| | |||||
* | temporary fix to make the job pass | Diego Becciolini | 2023-12-14 | 1 | -1/+1 |
| | | | | | | use same workaround as https://github.com/authelia/authelia/pull/6404 before https://github.com/mattn/go-sqlite3/pull/1177 fixes the build otherwise | ||||
* | use locally checked out lib in the docker job | Diego Becciolini | 2023-12-14 | 1 | -0/+2 |
| | | | | see https://github.com/mattn/go-sqlite3/pull/1177 | ||||
* | Fix virtual table example. (#1149) | Andrew Zhang | 2023-04-05 | 1 | -1/+1 |
| | |||||
* | Updating vtable example, "BestIndex" method (#1099) | David Vassallo | 2022-10-18 | 1 | -1/+6 |
| | | | | | | | As it was, the vtable example will give an error when adding any kind of SQL constraint in the SQL statement. Updating the BestIndex method will ensure that adding SQL constraints will not result in errors Signed-off-by: David Vassallo <davevassallo@gmail.com> Signed-off-by: David Vassallo <davevassallo@gmail.com> | ||||
* | こんにちわ is wrong Japanse. The correct word is こんにちは | KiYugadgeter | 2022-09-04 | 3 | -3/+3 |
| | |||||
* | Add error checking in simple example for tx.Commit | Kristóf Havasi | 2022-05-28 | 1 | -1/+4 |
| | | | | Based on https://golang.org/pkg/database/sql/#Tx.Commit this function returns an error type. So why not check it. | ||||
* | Update _example/simple/Dockerfile | mattn | 2022-05-18 | 1 | -1/+1 |
| | |||||
* | feat: simple example of Dockerfile w/ multi-stage build | KEINOS | 2022-05-18 | 1 | -0/+45 |
| | |||||
* | Add example using driverName | Yasuhiro Matsumoto | 2022-01-10 | 2 | -0/+25 |
| | |||||
* | Adds a fuzz target (#908) | Catena cyber | 2021-02-15 | 1 | -0/+30 |
| | | | | | * Adds a fuzz target * Fixes memory leak | ||||
* | add support for defining an "eponymous only" virtual table (#885) | Patrick DeVivo | 2020-12-26 | 2 | -0/+151 |
| | | | | | | | | | * add support for defining an "eponymous only" virtual table As suggested here: https://github.com/mattn/go-sqlite3/issues/846#issuecomment-736206222 * add an example of an eponymous only vtab module * add a test case for an eponymous only vtab module | ||||
* | Fix for early termination of returned rows (#805) | ShanePerron | 2020-05-03 | 1 | -1/+5 |
| | | | Once the regex encountered the first instance of a non-match, it would return without processing the rest of the rows in the statement. This change allows it to process the remaining, only setting the sqlite3_result_int to zero then continuing. This worked fine for the example as it only had one item to process. | ||||
* | report actual error message if sqlite3_load_extension fails (#800) | rittneje | 2020-04-16 | 3 | -13/+23 |
| | | | | | | | * report actual error message if sqlite3_load_extension fails * more fixes and test cases Co-authored-by: Jesse Rittner <jrittner@lutron.com> | ||||
* | Fix typo (#763) | Sergey Bronnikov | 2020-01-09 | 1 | -4/+4 |
| | |||||
* | fix type of event code | Yasuhiro Matsumoto | 2018-01-29 | 1 | -1/+1 |
| | | | | fixes #520 | ||||
* | support sqlite3_limit to get/set run time limit | Tetsuya Morimoto | 2017-11-05 | 1 | -0/+113 |
| | |||||
* | Incorporate original PR 271 from https://github.com/brokensandals | Jason Abbott | 2017-07-03 | 1 | -0/+6 |
| | |||||
* | golint | Yasuhiro Matsumoto | 2017-03-05 | 1 | -4/+5 |
| | |||||
* | golint | Yasuhiro Matsumoto | 2017-03-05 | 2 | -9/+9 |
| | |||||
* | use pointer receiver | Yasuhiro Matsumoto | 2017-03-05 | 2 | -5/+6 |
| | |||||
* | fix import path | Yasuhiro Matsumoto | 2017-03-05 | 1 | -1/+2 |
| | |||||
* | [vtable] Rename Context to SQLiteContext | Conor Branagan | 2017-03-04 | 1 | -2/+2 |
| | | | | To not conflict with core "context" package naming. | ||||
* | [vtable] Add pure Go example of GitHub repo vtable. | Conor Branagan | 2017-03-04 | 2 | -0/+147 |
| | |||||
* | Merge pull request #279 from otoolep/src_dst_swapped | mattn | 2017-03-01 | 1 | -11/+12 |
|\ | | | | | Source and destination are reversed | ||||
| * | Fix reversed source and destination names | Philip O'Toole | 2016-02-28 | 1 | -10/+10 |
| | | |||||
| * | Alphabetical imports | Philip O'Toole | 2016-02-28 | 1 | -1/+2 |
| | | |||||
* | | dummy constants | Yasuhiro Matsumoto | 2017-01-11 | 1 | -2/+0 |
| | | |||||
* | | fixes #368 | Yasuhiro Matsumoto | 2017-01-10 | 1 | -0/+2 |
| | | |||||
* | | Fix example import to point to mattn repo. | Graeme Connell | 2016-11-11 | 1 | -1/+1 |
| | | |||||
* | | Example program for the new SetTrace() | A.N | 2016-09-07 | 1 | -0/+264 |
| | | | | | | | | | | | | | | 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). | ||||
* | | add missing error checking to simple example | Stani | 2016-04-14 | 1 | -2/+16 |
|/ | |||||
* | remove binary file | Yasuhiro Matsumoto | 2015-09-16 | 2 | -0/+0 |
| | |||||
* | Merge pull request #229 from danderson/master | mattn | 2015-09-16 | 2 | -0/+133 |
|\ | | | | | Implement support for calling Go functions from SQLite | ||||
| * | Implement support for aggregation functions implemented in Go. | David Anderson | 2015-09-15 | 2 | -0/+133 |
| | | |||||
* | | Fix example to check the correct error value | Marc Campbell | 2015-08-24 | 1 | -7/+7 |
|/ | |||||
* | remove duplicated Close | gmarik | 2015-08-16 | 1 | -1/+0 |
| | | | since there's one already at line 51 | ||||
* | Rename sqlite3.{c,h} to sqlite3-binding.{c,h} | Stéphane Graber | 2015-03-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | 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> | ||||
* | Update simple.go (very small change) | tonio3l | 2014-07-29 | 1 | -3/+3 |
| | | | Renaming the string "sql" into "sqlStmt" in order to prevent mixing with package types & functions sql.* in future edits or code reuse. | ||||
* | Add backup. Close #104 | mattn | 2014-01-30 | 1 | -0/+71 |
| | |||||
* | Add example that query github repositories | mattn | 2014-01-23 | 4 | -0/+1338 |
| | |||||
* | rename | mattn | 2013-09-12 | 3 | -0/+0 |
| | |||||
* | Implements Execer | mattn | 2013-09-09 | 1 | -10/+8 |
| | |||||
* | Add Makefile | mattn | 2013-08-30 | 1 | -0/+22 |
| | |||||
* | mv | mattn | 2013-08-28 | 3 | -0/+169 |