public function one($param = true){
        $this->isAr = true;
        if($this->isPretreatment){
            self::$Pre = $this->bindSql();
            if(!$param) return self::$Pre->queryString;
            return $this->dbh->pone($this->bindSql());
        }
        $bind = $this->bindSql();
        if(!$param) return $this->PrintSQL();
        $this->initialize();
        return $bind->one();
    }
public function one($param = true){
        $this->isAr = true;
        if($this->isPretreatment){
            self::$Pre = $this->bindSql();
            if(!$param) return self::$Pre->queryString;
            return $this->dbh->pone($this->bindSql());
        }
        $bind = $this->bindSql();
        if(!$param) return $this->PrintSQL();
        $this->initialize();
        return $bind->one();
    }
public function one ( $ param = true ) { $ this -> isAr = true ; if ( $ this -> isPretreatment ) { self :: $ Pre = $ this -> bindSql ( ) ; if ( ! $ param ) return self :: $ Pre -> queryString ; return $ this -> dbh -> pone ( $ this -> bindSql ( ) ) ; } $ bind = $ this -> bindSql ( ) ; if ( ! $ param ) return $ this -> PrintSQL ( ) ; $ this -> initialize ( ) ; return $ bind -> one ( ) ; }
Grabbing One the Data
@author brain_yang <qiaopi520@qq.com>
(c) brain_yang
github: https://github.com/keenlysoft/
@param true is defult || false is return sqlstr;
@time 2018年2月27日
For the full copyright and license information, please view the LICENSE
Grabbing One the Data