rspec/rules/S3641/noncompliant.adoc

9 lines
253 B
Plaintext

=== Noncompliant code example
[source,text]
----
SELECT *
FROM my_table
WHERE my_column NOT IN (SELECT nullable_column FROM another_table) -- Noncompliant; "nullable_column" may contain 'NULL' value and the whole SELECT query will return nothing
----