Skip to main content

talawa-api / Exports / resolvers/Query/postsByOrganization

Module: resolvers/Query/postsByOrganization

Table of contents

Variables

Variables

postsByOrganization

Const postsByOrganization: QueryResolvers["postsByOrganization"]

This query will fetch the list of all post within an Organization from database.

Param

Param

An object that contains id of the organization, orderBy fields.

Remarks

The query function uses getSort() function to sort the data in specified order.

Defined in

src/resolvers/Query/postsByOrganization.ts:13