Deletes a race by given ID (if it exists).
Race is identified by its stringified ObjectID.
ObjectID
const raceId: string = "57da777687ecf89";const { acknowledged, deletedCount,} = await deleteRaceById({ raceId });
ID of the race to be deleted.
Generated using TypeDoc
Deletes a race by given ID (if it exists).
Race is identified by its stringified
ObjectID
.Usage