Skip to content

Commit 0c0f809

Browse files
committed
bug fixed
1 parent 37c47cc commit 0c0f809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ActiveRecord/QueryWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function all($db = null): array
6464
*/
6565
public function getRawSql(): string
6666
{
67-
return $this->createCommand()->getRawSql();
67+
return $this->query->createCommand()->getRawSql();
6868
}
6969

7070
/**

0 commit comments

Comments
 (0)