diff options
author | Grail Finder <wohilas@gmail.com> | 2025-10-09 16:19:43 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-10-09 16:19:43 +0300 |
commit | 2e1b018a45b88b843523a726a7ef264c2fdaa0b3 (patch) | |
tree | 6150fcc39fab6dc31c24854b1e363c82a32c2ba9 /storage/storage.go | |
parent | 5d2ce7a5f5743fa39b43379b143e0ee9a908ada6 (diff) |
Feat: new rag attempt
Diffstat (limited to 'storage/storage.go')
-rw-r--r-- | storage/storage.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 +} |