aboutsummaryrefslogtreecommitdiff
path: root/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'query.go')
-rw-r--r--query.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/query.go b/query.go
index 94dc17b..95c1f59 100644
--- a/query.go
+++ b/query.go
@@ -4,12 +4,11 @@
package oblast
import (
- "context"
"fmt"
"reflect"
)
-func Select[T any](ctx context.Context, db *DB, query string, args ...any) ([]T, error) {
+func Select[T any](db *DB, query string, args ...any) ([]T, error) {
// TODO: minimize function body to avoid binary size blowup from monomorphization
// TODO: catch error from rows.Close(), if any
// TODO: add context to errors