function getFirstBooking
getFirstBooking(attendeeId: number): Promise<FirstBooking | null>

The first real booking, or a no-quantity placeholder when no real one remains. The returned row itself proves whether the action has a live booking; callers do not need a second existence query.

Parameters

attendeeId: number

Return Type

Promise<FirstBooking | null>

Usage

import { getFirstBooking } from "doc.ts";