Reference · Query
weeks
🗓️ Get the ended Weeks with associated results for each member, oldest first unless sort says otherwise
Arguments
| Name | Type | Description |
|---|---|---|
limit | Int | Maximum number of weeks to return (all when omitted) |
sort | Sort | Order of the weeks, by week number Default: ASC |
Returns
[Week]
Example
{
weeks(limit: 4, sort: DESC) {
uid
startDate
scores {
user { name }
score
level
streak { end best }
}
}
}