Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lathiat
on May 1, 2018
|
parent
|
context
|
favorite
| on:
You know how HTTP GET requests are meant to be ide...
At least in MySQL you can use “ON DUPLICATE KEY” to either ignore such things or optionally execute an update statement to change something about the matching row.
There is also REPLACE INTO
Assuming you have a relevant unique key setup of course.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
There is also REPLACE INTO
Assuming you have a relevant unique key setup of course.