Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CaviraOSS/OpenMemory
/ db.ts
File
db.ts
backend/src/core/db.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
sqlite3 from
"sqlite3"
;
2
import
{ Pool, PoolClient } from
"pg"
;
3
import
{ env } from
"./cfg"
;
4
import
fs from
"node:fs"
;
Callers
nothing calls this directly
Calls
9
pool
Function · 0.85
init
Function · 0.85
safe_exec
Function · 0.85
lock
Method · 0.80
exec
Function · 0.70
one
Function · 0.70
many
Function · 0.70
query
Method · 0.45
run
Method · 0.45
Tested by
no test coverage detected