moodle/.upgradenotes/MDL-83917-2024121004111313.yml
Pedro Jordao e1688e7094 MDL-83917 core_completion: Create function count_modules_completed
The function returns the number of modules completed by a user and
executes a COUNT aggregate function to avoid running many queries
to obtain this information, aiming to optimize performance.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2025-01-07 22:16:46 -03:00

8 lines
248 B
YAML

issueNumber: MDL-83917
notes:
core_completion:
- message: >-
The method `count_modules_completed` now delegate the logic to count the
completed modules to the DBMS improving the performance of the method.
type: improved