This commit is contained in:
2023-04-01 21:04:28 +08:00
parent eac2800561
commit 0450226d36
2 changed files with 19 additions and 11 deletions
+11
View File
@@ -108,6 +108,17 @@ class ActiveQuery extends Component implements ISqlBuilder
'param' => $lists,
];
}
/**
* @param bool $asArray
* @return static
*/
public function asArray(bool $asArray = true): static
{
$this->asArray = $asArray;
return $this;
}
/**