Exemple #1
0
 /**
  * @expectedException \Dewdrop\Exception
  */
 public function testBadFetchQueryThrowsException()
 {
     $this->db->query('not even close to valid sql');
 }
Exemple #2
0
 /**
  * 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);
 }