6 ms·
When should you use IN instead of the OR operator? Tl;dr; Always.
by aforty 3y ago
When should you use IN instead of the OR operator?
Tl;dr;
Always.
- angry__panda 3y agoThis is true for Postgres. But might not be true for other databases. For example, for MySQL, in some cases OR is faster than IN operator based on our experiments.