gitlab-org--gitlab-foss/changelogs/unreleased/tc-no-todo-service-select.yml
Toon Claes a723cba574 Avoid plucking Todo ids and use sub-queries instead
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
2017-08-03 16:31:05 +02:00

4 lines
79 B
YAML

---
title: Avoid plucking Todo ids in TodoService
merge_request: 10845
author: