select for update with ruby oci8
- by ash34
how do I do a 'select for update' and then 'update' the row using ruby oci8.
I have two fields counter1 and counter2 in a table which has only 1 record. I want to select the values from this table and then increment them by locking the row using select for update.
thanks.