dbManager automatically handle disconnections?
Posted: 23 Jan 2024, 04:03
Hi,
1.
Does dbManager connections automatically handle disconnections?
Is it any problem if I run multiple functions in a row with dbManager like this?
Thank you.
2.
Is it possible to get the key returned by executeUpdate? executeInsert can get it.
1.
Does dbManager connections automatically handle disconnections?
Is it any problem if I run multiple functions in a row with dbManager like this?
Thank you.
Code: Select all
var dbManager = getParentExtension().getParentZone().getDBManager();
FriendUpdate(dbManager, source_id, destination_id);
FriendAdd(dbManager, source_id, destination_id, position);
EdgeUpdate(dbManager, source_id, destination_id, position);
2.
Is it possible to get the key returned by executeUpdate? executeInsert can get it.
Executes a SQL INSERT command returning the key of the inserted row