Example #1
0
 /**
  * 获取上次执行的 SQL 与 参数
  * @return array
  */
 public function getLastSql()
 {
     return HPdo::instance()->getLastSql();
 }
Example #2
0
 public function __construct()
 {
     if ($this->_pdo === null) {
         $this->_pdo = HPdo::instance()->getConnect();
     }
 }