Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This avoids running a big SQL query which could potentially return a
large number of rows. All we need to check for is existance of AT LEAST one record. This can be done much faster with LIMIT 1.
- Loading branch information