Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 884 Bytes

resolvers_Query_postsByOrganization.md

File metadata and controls

31 lines (16 loc) · 884 Bytes

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