buildSql() public method

创建子查询SQL
public buildSql ( boolean $sub = true ) : string
$sub boolean
return string
Example #1
0
 protected function parseClosure($call, $show = true)
 {
     $query = new Query($this->connection);
     call_user_func_array($call, [&$query]);
     return $query->buildSql($show);
 }