/** * @expectedException \Dewdrop\Exception */ public function testBadFetchQueryThrowsException() { $this->db->query('not even close to valid sql'); }
/** * Executes the current select object and returns the result * * @param mixed $bind An array of data to bind to the placeholders. * @return mixed */ public function query($bind = array()) { return $this->adapter->query($this, $bind); }