Commit 0cf2b8a4 authored by gwenn's avatar gwenn

Misc

parent 12b1698f
......@@ -5,7 +5,6 @@ This binding implements the "database/sql/driver" interface.
See [package documentation](http://go.pkgdoc.org/github.com/gwenn/gosqlite).
<pre>
Open supports flags.
Conn#Exec handles multiple statements (separated by semicolons) properly.
Conn#Prepare can optionnaly #Bind as well.
......@@ -18,7 +17,6 @@ Stmt#Next returns a (bool, os.Error) couple like Reader#Read.
Stmt#Scan uses native sqlite3_column_x methods.
Stmt#NamedScan is added. It's compliant with [go-dbi](https://github.com/thomaslee/go-dbi/).
Stmt#ScanByIndex/ScanByName are added to test NULL value.
</pre>
Currently, the weak point of the binding is the *Scan* methods:
The original implementation is using this strategy:
......@@ -34,7 +32,6 @@ SQLite logs (SQLITE_CONFIG_LOG) can be activated by:
- ConfigLog function
- or `export SQLITE_LOG=1`
<pre>
Misc:
Conn#Exists
Conn#OneValue
......@@ -91,6 +88,7 @@ Conn#CreateScalarFunction
Conn#CreateAggregateFunction
$ go test -test.bench '.*'
<pre>
BenchmarkValuesScan 500000 4658 ns/op
BenchmarkScan 500000 324 ns/op
BenchmarkNamedScan 200000 9221 ns/op
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment