src/db/BuildSql.php
public function getSql($bool = true)
    {
        $this->options['childSql'] = $bool;

        if ($bool) {
            $this->bulidSql('SELECT');
            return $this->bulid['sql'];
        }

        return $this;
    }
public function getSql($bool = true)
    {
        $this->options['childSql'] = $bool;

        if ($bool) {
            $this->bulidSql('SELECT');
            return $this->bulid['sql'];
        }

        return $this;
    }
子查询 如果开启 则直接返回sql
@date   2017-11-22T00:38:42+0800
@author ChenMingjiang
@param  boolean                  $value [description]
@return [type]                          [description]