MCPcopy
hub / github.com/Waishnav/devspace / DatabaseHandle

Interface DatabaseHandle

src/db/client.ts:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9export type AppDatabase = ReturnType<typeof createDrizzleDatabase>;
10
11export interface DatabaseHandle {
12 sqlite: SqliteDatabase;
13 db: AppDatabase;
14 close(): void;
15}
16
17export function databasePath(stateDir: string): string {
18 return join(stateDir, "devspace.sqlite");

Callers 2

startFunction · 0.65
openDatabaseFunction · 0.65

Implementers 3

SqliteOAuthStoresrc/oauth-store.ts
SingleUserOAuthProvidersrc/oauth-provider.ts
SqliteWorkspaceStoresrc/workspace-store.ts

Calls

no outgoing calls

Tested by

no test coverage detected