Structs§
Functions§
- get_
all_ by_ course_ id - get_
all_ by_ user_ and_ multiple_ current_ courses - Gets all of the user’s course settings that have their current course id included in the provided list.
- get_
all_ by_ user_ id - Returns all non-deleted user course settings for a user.
- get_
user_ course_ settings - get_
user_ course_ settings_ by_ course_ id - set_
hidden - Sets whether the given course is hidden from the user’s personal “My courses” list. The course is matched by its language group, so any language version of the course resolves to the same settings row.
- upsert_
user_ course_ settings_ for_ enrollment - Creates new user course settings based on the enrollment or updates an existing one.