src/db/BuildSql.php
public function init()
    {

        $this->bulid = [
            'field'     => '*',
            'sql'       => '',
            'chilidSql' => false,
            'data'      => null,
            'order'     => null,
            'group'     => null,
        ];

        $this->options = [
            'data'  => [],
            'field' => [],
            'order' => [],
        ];

        $this->connect();
    }
public function init()
    {

        $this->bulid = [
            'field'     => '*',
            'sql'       => '',
            'chilidSql' => false,
            'data'      => null,
            'order'     => null,
            'group'     => null,
        ];

        $this->options = [
            'data'  => [],
            'field' => [],
            'order' => [],
        ];

        $this->connect();
    }
构造Sql初始化