function getEventWithAttendeeRaw
getEventWithAttendeeRaw(
eventId: number,
attendeeId: number,
): Promise<EventWithAttendeeRaw | null>

Get event and a single attendee in a single database round-trip. Used for attendee management pages where we need both the event context and the specific attendee data.

Parameters

eventId: number
attendeeId: number

Return Type

Promise<EventWithAttendeeRaw | null>

Usage

import { getEventWithAttendeeRaw } from "docs/database.ts";