MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / createDrizzleFumaDb

Function createDrizzleFumaDb

apps/cloud/src/db/fuma.ts:39–47  ·  view source on GitHub ↗
(
  options: CreateDrizzleFumaDbOptions<TTables>,
)

Source from the content-addressed store, hash-verified

37// already-opened `db`. Delegates to the shared factory; the local wrapper
38// keeps the cloud-specific default version + option names.
39export const createDrizzleFumaDb = <const TTables extends FumaTables>(
40 options: CreateDrizzleFumaDbOptions<TTables>,
41): DrizzleFumaDb<TTables> =>
42 createExecutorFumaDb(options.db, {
43 tables: options.tables,
44 namespace: options.namespace,
45 version: options.version ?? "1.0.0",
46 provider: options.provider,
47 });
48
49export const CLOUD_NAMESPACE = "executor_cloud";
50

Callers 3

buildScopedExecutorFunction · 0.90
db.schema.test.tsFile · 0.90
cloudDbProviderLayerFunction · 0.85

Calls 1

createExecutorFumaDbFunction · 0.85

Tested by 1

buildScopedExecutorFunction · 0.72