Function useFindItineraryLocationIdsByPlaceIdQuery

  • useFindItineraryLocationIdsByPlaceIdQuery

    To run a query within a React component, call useFindItineraryLocationIdsByPlaceIdQuery and pass it any options that fit your needs. When your component renders, useFindItineraryLocationIdsByPlaceIdQuery returns an object from Apollo Client that contains loading, error, and data properties you can use to render your UI.

    Example

    const { data, loading, error } = useFindItineraryLocationIdsByPlaceIdQuery({
    variables: {
    itineraryId: // value for 'itineraryId'
    placeId: // value for 'placeId'
    first: // value for 'first'
    after: // value for 'after'
    },
    });

    Parameters

    Returns QueryResult<FindItineraryLocationIdsByPlaceIdQuery, Exact<{
        after?: InputMaybe<string>;
        first: number;
        itineraryId: string;
        placeId: string;
    }>>

Generated using TypeDoc