...
Info | ||||
---|---|---|---|---|
|
Code Block |
---|
final string sql = "update table1 set name = ? where id = ?";
consume {
int cnt = sqlPrepUpdate(sql, aNewName, anIdent,
"Default.myPrimaryDB", "Default.mySecondaryDB");
if ( cnt == -1 ) {
debug("Both primary and secondary database nodes
are unavailable");
}
} |