Skip to main content

organizations

talawa-apiDocs


talawa-api / resolvers/Query/organizations / organizations

Variable: organizations

> const organizations: QueryResolvers["organizations"]

If a 'id' is specified, this query will return an organisation; otherwise, it will return all organisations with a size of limit 100.

Param

Param

An object containing orderBy and id of the Organization.

Returns

The organization if valid id is provided else return organizations with size limit 100.

Remarks

id in the args is optional.

Defined in

src/resolvers/Query/organizations.ts:16