Hi there,

I've been struggling to find examples on how to do atomic 
increment/decrement operations on a column, which may or may not update the 
"updated_at" timestamps.

Specifically, something like the AR#increment and AR#decrement methods, 
which result in smith like this:

"UPDATE this_table SET counter = COALESCE(counter, 0) + 1"

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/1680ffc4-1a87-4835-8efa-6abfd41acda9%40googlegroups.com.

Reply via email to