pub async fn exists(
conn: &mut PgConnection,
course_module_id: Uuid,
) -> ModelResult<bool>Expand description
Whether the module already has a live configuration row. Lets a caller tell “nothing to store” apart from “the teacher cleared what was stored”, which look the same in an edit payload.