MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / delete

Method delete

lib/models/expenses.ts:145–153  ·  view source on GitHub ↗
(userId: string, id: string)

Source from the content-addressed store, hash-verified

143 }
144
145 static async delete(userId: string, id: string) {
146 await db.query(
147 sql`DELETE FROM "bewcloud_budgets" WHERE "id" = $1 AND "user_id" = $2`,
148 [
149 id,
150 userId,
151 ],
152 );
153 }
154}
155
156export class ExpenseModel {

Callers

nothing calls this directly

Calls 1

queryMethod · 0.80

Tested by

no test coverage detected