function incrementAttachmentDownloads
incrementAttachmentDownloads(
attendeeId: number,
eventId: number
): Promise<void>

Increment the attachment download counter for an attendee. Uses atomic SQL increment to avoid race conditions.

Parameters

attendeeId: number
eventId: number

Return Type

Promise<void>

Usage

import { incrementAttachmentDownloads } from "doc.ts";