示例#1
0
文件: HModel.php 项目: HWeiXin/wx
 /**
  * 获取上次执行的 SQL 与 参数
  * @return array
  */
 public function getLastSql()
 {
     return HPdo::instance()->getLastSql();
 }
示例#2
0
 public function __construct()
 {
     if ($this->_pdo === null) {
         $this->_pdo = HPdo::instance()->getConnect();
     }
 }