mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 15:45:59 +01:00
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>
8 lines
248 B
YAML
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
|