Expand description

Always update the user_exercise_state table though this module

Modules

Structs

Functions

  • Loads all required data and updates user_exercise_state. Also creates completions if needed.
  • Allows you to pass some data that update_user_exercise_state fetches to avoid repeating SQL queries for performance. Note that the caller must be careful that it passes correct data to the function. A good rule of thumb is that this function expects unmodified data directly from the database.