Comment Comment by haliliceylan Thats not postgresql problem, thats your codeIMHO you should never write code like that, you can either do UPDATE employees SET salary = salary + 500 WHERE employee_id = 101;Or if its more complex just use STORED PROCEDURE, there is no point of using database if you gonna do all transactional things in js parent haliliceylan 8 months ago
IMHO you should never write code like that, you can either do UPDATE employees SET salary = salary + 500 WHERE employee_id = 101;
Or if its more complex just use STORED PROCEDURE, there is no point of using database if you gonna do all transactional things in js