diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-08-01 14:25:15 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-08-01 14:25:15 +0200 |
| commit | 431cfa19cc8bd45880bceb99f779c85a65708b8b (patch) | |
| tree | 3d597d11b5fd228f4e76eabf1eb059dbab14104e /oblast.go | |
| parent | 62c64518216c60c28cc01c99f72a8c1d550170ee (diff) | |
| download | go-oblast-431cfa19cc8bd45880bceb99f779c85a65708b8b.tar.gz | |
Diffstat (limited to 'oblast.go')
| -rw-r--r-- | oblast.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -102,6 +102,9 @@ // } package oblast // import "go.xyrillian.de/oblast" +// TODO: adapt selectOneValue() and selectSeveralValues() from gg/pgruntime/helpers.go into the public API here (reusing Selection[R] appropriately) +// TODO: also consider if this pattern can be adapted to select pairs/triples/etc. of values in a convenient way, e.g. oblast.Select(ctx, db, `SELECT id, name FROM objects`).Foreach(func (id int64, name string) error { ... }) + import ( "database/sql" "database/sql/driver" |
