改名
This commit is contained in:
@@ -155,6 +155,17 @@ class ActiveQuery extends Component implements ISqlBuilder
|
||||
return $newModel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @throws Exception
|
||||
*/
|
||||
public function toSql(): string
|
||||
{
|
||||
return $this->builder->get();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return array|Collection
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user