rspec/rules/S1138/description.adoc

2 lines
240 B
Plaintext
Raw Normal View History

2021-01-27 13:42:22 +01:00
SQL queries that use ``++EXISTS++`` subqueries are inefficient because the subquery is re-run for every row in the outer query's table. There are more efficient ways to write most queries, ways that do not use the ``++EXISTS++`` condition.