Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mv | mattn | 2013-08-28 | 3 | -169/+0 |
| | |||||
* | Use sqlite3.c in all platforms | mattn | 2013-08-28 | 2 | -3/+7 |
| | |||||
* | Changed extension support to load from a string list of extensions | Carlos Castillo | 2013-08-24 | 1 | -27/+2 |
| | | | | | | | | | | | | | | By loading extensions this way, it's not possible to later load extensions using db.Exec, which improves security, and makes it much easier to load extensions correctly. The zero value for the slice (the empty slice) loads no extensions by default. The extension example has been updated to use this much simpler system. The ConnectHook field is still in SQLiteDriver in case it's needed for other driver-wide initialization. Updates #71 of mattn/go-sqlite3. | ||||
* | Added error return to ConnectHook and fixed extension example | Carlos Castillo | 2013-08-24 | 1 | -2/+32 |
| | | | | | | | | | | The ConnectHook field of an SQLiteDriver should return an error in case something bad happened during the hook. The extension example needs to load the extension in a ConnectHook, otherwise the extension is only loaded in a single connection in the pool. By putting the extension loading in the ConnectHook, its called for every connection that is opened by the sql.DB. | ||||
* | Rename because travis bringup error | mattn | 2013-08-23 | 1 | -0/+0 |
| | |||||
* | Fixes typo | mattn | 2013-08-23 | 1 | -1/+5 |
| | |||||
* | Possible to register custom driver | mattn | 2013-08-23 | 1 | -1/+3 |
| | |||||
* | Add example for sqlite3 extension | mattn | 2013-08-23 | 1 | -0/+27 |
| | |||||
* | Add example for sqlite3_with_extensions | mattn | 2013-08-23 | 1 | -0/+32 |
| | |||||
* | mv | mattn | 2013-08-23 | 1 | -23/+12 |
| | |||||
* | add example code using bulk insert. | mattn | 2012-12-26 | 1 | -0/+27 |
| | |||||
* | use fmt.Println() | mattn | 2012-12-07 | 1 | -2/+2 |
| | |||||
* | remove Makefile. | mattn | 2012-05-15 | 1 | -6/+0 |
| | |||||
* | add example of Prepare()/QueryRow(). add db.Close(). close #7 | mattn | 2012-02-23 | 1 | -2/+16 |
| | |||||
* | Updating example | Scott Lawrence | 2012-01-20 | 1 | -1/+1 |
| | |||||
* | transaction. | mattn | 2011-11-13 | 1 | -2/+7 |
| | |||||
* | gofmt. | mattn | 2011-11-11 | 1 | -60/+60 |
| | |||||
* | first import. | mattn | 2011-11-11 | 2 | -0/+66 |