public function beginTransaction() { $transaction = $this->unprepared('START TRANSACTION;'); if ($transaction) { $this->transactionCount++; } }