예제 #1
0
파일: HModel.php 프로젝트: HWeiXin/wx
 /**
  * 获取上次执行的 SQL 与 参数
  * @return array
  */
 public function getLastSql()
 {
     return HPdo::instance()->getLastSql();
 }
예제 #2
0
파일: HTransaction.php 프로젝트: HWeiXin/wx
 public function __construct()
 {
     if ($this->_pdo === null) {
         $this->_pdo = HPdo::instance()->getConnect();
     }
 }