I want to apply transactions but only for this request.is it any impact on insert , update on other table by other users at same.
$conn = ConnectionManager::get('default');
$conn->begin();
try{
//code here
$conn->commit()
}catch(\Exception){
$conn->rollback()
}
unset($conn);