Hello,
I am trying to update some values in my database, but the transaction shows no effect. Do you have an idea what I am doing wrong here?
var con = fb.createConnection();
con.connectSync('pwrhsb.gdb'), 'SYSDBA', 'masterkey', '');
const query = 'UPDATE OBJEKT SET BEZ = 'ABCDEFG' WHERE OB_KEY = 25984';
const transaction = con.startNewTransactionSync();
const result = transaction.prepareSync(query);
result.execInTransSync(transaction);
transaction.commitSync();
Hello,
I am trying to update some values in my database, but the transaction shows no effect. Do you have an idea what I am doing wrong here?