From 30984e9e686cc1dc2bede6784a2534371b02219d Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Sat, 11 Apr 2026 00:21:02 +0200 Subject: say no to ctx --- query.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'query.go') 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 -- cgit v1.2.3