diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-11-15 23:25:01 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-11-15 23:25:01 +0100 |
| commit | 0aaaa36644ec4671e20a93fb12939612410c802e (patch) | |
| tree | 81a26f46de45c1320489ed6ae3271b779e6ef680 /oblast/query.go | |
| parent | 1d81d624c83bf250d2ab0d76ba4705d71fce7e88 (diff) | |
| download | go-gg-0aaaa36644ec4671e20a93fb12939612410c802e.tar.gz | |
gsql, oblast: add more small helper functions
Diffstat (limited to 'oblast/query.go')
| -rw-r--r-- | oblast/query.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oblast/query.go b/oblast/query.go index 6e375e4..d112735 100644 --- a/oblast/query.go +++ b/oblast/query.go @@ -24,10 +24,10 @@ import ( // Our benchmarking with the mattn/go-sqlite3 driver (and last checked with Go 1.26.2 on x86_64) indicates that this becomes a worthwhile investment at 8 or more records, so this is our default. // If your benchmarking indicates a different tradeoff depending on your choice of Go version or SQL driver, you may adjust this variable accordingly. // -// The actual effect of this setting is to control the value of the "repeated" argument in [Handle.Prepare]. +// The actual effect of this setting is to control the value of the "repeated" argument in [gsql.Handle.Prepare]. var PrepareThreshold int = 8 -// prepare behaves like [Handle.Prepare]. +// prepare behaves like [gsql.Handle.Prepare]. func prepare(ctx context.Context, db gsql.Handle, readOnly bool, query, operation string, inputSize int) (gsql.Statement, error) { if query == "" { if readOnly { |
