Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mangeletti
on May 30, 2015
|
parent
|
context
|
favorite
| on:
Hacking Starbucks for unlimited coffee
Exactly; each of these operations require only 1 query (you don't need to SELECT and then UPDATE), and then a third SELECT query afterwards to ensure the transferrer's balance wasn't reduced to below 0, in which case the save point is rolled back.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: