a723cba574
TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids |
||
---|---|---|
.. | ||
application_controller.rb | ||
groups_controller.rb | ||
labels_controller.rb | ||
milestones_controller.rb | ||
projects_controller.rb | ||
snippets_controller.rb | ||
todos_controller.rb |