$result = DB::unprepared("LOCK TABLE table1 READ, table1 WRITE, table2 READ, table3 READ;"
. $query_multi_stmt
. " UNLOCK TABLES;");
if ($result > 0 ){ //...if rows affected
//...do something
}
$result = DB::unprepared("LOCK TABLE table1 READ, table1 WRITE, table2 READ, table3 READ;"
. $query_multi_stmt
. " UNLOCK TABLES;");
if ($result > 0 ){ //...if rows affected
//...do something
}