Think/Db/Driver.php
public function select(array $options = [])
    {
        $this->model = $options['model'];
        $this->parseBind(!empty($options['bind']) ? $options['bind'] : []);
        $sql = $this->buildSelectSql($options);

        return $this->query($sql, !empty($options['fetch_sql']));
    }
public function select(array $options = [])
    {
        $this->model = $options['model'];
        $this->parseBind(!empty($options['bind']) ? $options['bind'] : []);
        $sql = $this->buildSelectSql($options);

        return $this->query($sql, !empty($options['fetch_sql']));
    }
查找记录


@param array $options 表达式

@return mixed