MCPcopy 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

1import sqlite3 from "sqlite3";
2import { Pool, PoolClient } from "pg";
3import { env } from "./cfg";
4import fs from "node:fs";

Callers

nothing calls this directly

Calls 9

poolFunction · 0.85
initFunction · 0.85
safe_execFunction · 0.85
lockMethod · 0.80
execFunction · 0.70
oneFunction · 0.70
manyFunction · 0.70
queryMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected