MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / openDatabase

Method openDatabase

packages/bridge-contract/src/bridge.ts:150–150  ·  view source on GitHub ↗

Resolves to null when the `.csv` no longer exists (e.g. a stale tab).

(relPath: string)

Source from the content-addressed store, hash-verified

148 scanTasksForPath(relPath: string): Promise<VaultTask[]>
149 /** Resolves to null when the `.csv` no longer exists (e.g. a stale tab). */
150 openDatabase(relPath: string): Promise<DatabaseDoc | null>
151 writeDatabaseRows(relPath: string, rows: DbRow[]): Promise<DatabaseDoc>
152 writeDatabaseSchema(relPath: string, sidecar: DatabaseSidecar, rows: DbRow[]): Promise<DatabaseDoc>
153 createDatabase(folder: NoteFolder, subpath: string, title?: string): Promise<DatabaseDoc>

Callers 5

store.tsFile · 0.80
store.test.tsFile · 0.80
onClickFunction · 0.80
handleSelectFunction · 0.80
openDatabaseFromWikilinkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected