Skip to Content
SdkReactInternalFunctionshardDeleteMediaOp

hardDeleteMediaOp

hardDeleteMediaOp(ctx: MediaOperationsContext, mediaId: string): Promise<boolean>

Defined in: src/lib/db/media/operations.ts:369 

Permanently delete a media record (hard delete). Also removes the file from OPFS.

Parameters

ParameterType

ctx

MediaOperationsContext

mediaId

string

Returns

Promise<boolean>

Last updated on