Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jcampbell1
on Oct 3, 2011
|
parent
|
context
|
favorite
| on:
When "clever" goes wrong: how Etsy overcame poor a...
> As a quick example, how else would you do an upsert (update or create) with a single trip to the database server?
I use MySql and use UPDATE ON DUPLICATE KEY ... or REPLACE INTO.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I use MySql and use UPDATE ON DUPLICATE KEY ... or REPLACE INTO.