Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mst
on Sept 21, 2019
|
parent
|
context
|
favorite
| on:
What ORMs have taught me: just learn SQL (2014)
$db->employees->update({ salary => $Q{salary} + $Q{salary} * $Q{merit}{percentage} });
Not that much simpler in that case, but at least lets you define the JOIN once rather than repeating it per-query.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: