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

Method update

lib/models/files.ts:511–516  ·  view source on GitHub ↗
(fileShare: FileShare)

Source from the content-addressed store, hash-verified

509 }
510
511 static async update(fileShare: FileShare): Promise<void> {
512 await db.query(
513 sql`UPDATE "bewcloud_file_shares" SET "extra" = $2 WHERE "id" = $1`,
514 [fileShare.id, JSON.stringify(fileShare.extra)],
515 );
516 }
517
518 static async delete(fileShareId: string): Promise<void> {
519 await db.query(

Callers

nothing calls this directly

Calls 1

queryMethod · 0.80

Tested by

no test coverage detected