talawa-api / Exports / resolvers/Query/registeredEventsByUser
• Const
registeredEventsByUser: QueryResolvers
["registeredEventsByUser"
]
This query will fetch all the events for which user registered from the database.
Param
Param
An object that contains id
of the user and orderBy
.
Remarks
The query function uses getSort()
function to sort the data in specified.