Avoid wrapping indexed columns in functions so the optimizer can use the index.
Why This Matters
A function on an indexed column disables the index, forcing a full scan even when one exists.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.