src/Leevel/Database/Select.php
public function fetchArgs(int $fetchStyle, $fetchArgument = null, array $ctorArgs = []): self
    {
        $this->queryParams['fetch_args']['fetch_style'] = $fetchStyle;

        if ($fetchArgument) {
            $this->queryParams['fetch_args']['fetch_argument'] = $fetchArgument;
        }

        $this->queryParams['fetch_args']['ctor_args'] = $ctorArgs;

        return $this;
    }
public function fetchArgs(int $fetchStyle, $fetchArgument = null, array $ctorArgs = []): self
    {
        $this->queryParams['fetch_args']['fetch_style'] = $fetchStyle;

        if ($fetchArgument) {
            $this->queryParams['fetch_args']['fetch_argument'] = $fetchArgument;
        }

        $this->queryParams['fetch_args']['ctor_args'] = $ctorArgs;

        return $this;
    }
设置查询参数.

@param int   $fetchStyle
@param mixed $fetchArgument
@param array $ctorArgs

@return $this