Commit fad006a2 authored by Ray Paik's avatar Ray Paik

Merge branch 'docs-typo-development-sql' into 'master'

docs: Fix a typo in SQL Query Guidelines

See merge request gitlab-org/gitlab!44189
parents 5497fa47 b6cec622
......@@ -220,7 +220,7 @@ Project.select(:id, :user_id).joins(:merge_requests)
Never use ActiveRecord's `pluck` to pluck a set of values into memory only to
use them as an argument for another query. For example, this will execute an
extra unecessary database query and load a lot of unecessary data into memory:
extra unnecessary database query and load a lot of unnecessary data into memory:
```ruby
projects = Project.all.pluck(:id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment