-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
backendthis ticket is part of the backendthis ticket is part of the backend
Milestone
Description
Implement the get_cohorts function to fetch all the cohorts from the database table Cohorts.
Return a list of cohort objects. Use types declared in src/lib/client/supabase/types.ts for more precise return values. Example:
[
{ year: ..., term: ..., is_active: ..., created_at: ..., id: ... },
{ year: ..., term: ..., is_active: ..., created_at: ..., id: ... },
...
]
Implement tests for this function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendthis ticket is part of the backendthis ticket is part of the backend