MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / getAppDb

Function getAppDb

services/db-proxy/src/utils/db.ts:6–9  ·  view source on GitHub ↗
(env: Env, appId: string)

Source from the content-addressed store, hash-verified

4 * Get the DO stub for an app
5 */
6export function getAppDb(env: Env, appId: string) {
7 const id = env.APP_DB.idFromName(appId);
8 return env.APP_DB.get(id);
9}

Callers 2

admin.tsFile · 0.90
runtime.tsFile · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected