Join Discord
Powered by
is there a way to increment a cell instead of read...
# javascript
g
gralp
05/09/2022, 8:01 PM
is there a way to increment a cell instead of reading it, incrementing it and writing it again?
j
jaitaiwan
05/09/2022, 10:57 PM
You could just UPDATE table set counter = counter + 1 WHERE id = someid;
g
gralp
05/10/2022, 7:16 AM
Ok
Previous
Next