talawa-api / Exports / resolvers/Query/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.