MCPcopy
hub / github.com/codedogQBY/ReadAny / deleteNote

Function deleteNote

packages/core/src/db/note-queries.ts:127–131  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

125}
126
127export async function deleteNote(id: string): Promise<void> {
128 const database = await getDB();
129 await insertTombstone(database, id, "notes");
130 await database.execute("DELETE FROM notes WHERE id = ?", [id]);
131}

Callers 1

Calls 3

getDBFunction · 0.90
insertTombstoneFunction · 0.90
executeMethod · 0.65

Tested by

no test coverage detected