From 2e1b018a45b88b843523a726a7ef264c2fdaa0b3 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Thu, 9 Oct 2025 16:19:43 +0300 Subject: Feat: new rag attempt --- storage/storage.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'storage/storage.go') diff --git a/storage/storage.go b/storage/storage.go index 7911e13..0416884 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -113,3 +113,8 @@ func NewProviderSQL(dbPath string, logger *slog.Logger) FullRepo { p.Migrate() return p } + +// DB returns the underlying database connection +func (p ProviderSQL) DB() *sqlx.DB { + return p.db +} -- cgit v1.2.3