Skip to main content

venues

talawa-api


talawa-api / resolvers/Organization/venues / venues

Variable: venues

> const venues: OrganizationResolvers["venues"]

Resolver function for the venues field of an Organization.

This function retrieves the venues related to a specific organization.

Param

The parent object representing the organization. It contains information about the organization, including the ID of the organization.

Returns

A promise that resolves to the venue documents found in the database. These documents represent the venues related to the organization.

See

  • Venue - The Venue model used to interact with the venues collection in the database.
  • OrganizationResolvers - The type definition for the resolvers of the Organization fields.

Defined in

src/resolvers/Organization/venues.ts:16