public function beginTransaction() { $sql = "BEGIN"; // Add query to log \Spot\Log::addQuery($this, $sql); return $this->connection()->exec($sql); }