/** * Set Query to single statement executable. * * @param string $query */ public function setSingleQuery($query) { if ($this->executed) { $this->clear(); } $this->query->single()->setQuery($query); return $this; }