/** * 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); }
/** * 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); }