Beispiel #1
0
 /**
  * Execute sql and get responses 
  * @param \PDO $db
  * @param $errExce whether throw exceptions
  * @return array
  */
 public function get($db, $asDict = false, $errExce = true)
 {
     return ExecImpl::get($this->context, $db, $asDict, $errExce);
 }
Beispiel #2
0
 /**
  * Execute sql
  * @param \PDO $db
  * @param boolean $errExce whether throw exceptios
  * @return Response
  */
 public function exec($db, $errExce = true)
 {
     return ExecImpl::exec($this->context, $db, $errExce);
 }