|
|
|
|
|
by tomnipotent
2743 days ago
|
|
> why should I implement things ... in SQL It's simply more efficient? If I have a table with millions of rows, I'm not going to bring down the entire data set on every request just to sort by latest and grab the 10 most recently updated rows that haven't been soft deleted (WHERE active=1 ORDER BY updated_at DESC LIMIT 10). |
|