Structs§
- Course
Module Completion Registered ToStudy Registry - Course
Module Completion Registration State - A registration’s state without the registrar-supplied student number, for surfaces that must
never expose it (see
real_student_numberon CourseModuleCompletionRegisteredToStudyRegistry). - NewCourse
Module Completion Registered ToStudy Registry - Registered
Completion - An object representing that a completion has been registered to a study registry.
Functions§
- completion_
ids_ registered_ by_ a_ registrar - Of the given completions, the ones some registrar has already registered.
- delete
- get_
by_ completion_ id_ and_ registrar_ id - get_
by_ id - get_
by_ registrar_ id_ and_ completion_ ids - Returns non-deleted registrations for a registrar scoped to the given completion ids.
- get_
count_ of_ distinct_ users_ with_ registrations_ by_ course_ id - Get the number of students that have completed the course
- get_
platform_ registered_ row_ for_ completion - The row this platform registered itself for a completion, as opposed to one filed by a
third-party registrar: a null
study_registry_registrar_idis what marks a row as ours. - get_
registrations_ by_ completion_ ids - Registration state for the given completions, across all registrars. Selects no student number, unlike get_by_registrar_id_and_completion_ids.
- insert
- insert_
bulk - insert_
or_ ignore - Like insert, but a pre-existing registration for the same completion is left untouched instead of erroring, for seeding scripts that may rerun against already-seeded data.
- mark_
completions_ as_ registered_ to_ study_ registry