We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c47cc commit 0c0f809Copy full SHA for 0c0f809
1 file changed
src/ActiveRecord/QueryWrapper.php
@@ -64,7 +64,7 @@ public function all($db = null): array
64
*/
65
public function getRawSql(): string
66
{
67
- return $this->createCommand()->getRawSql();
+ return $this->query->createCommand()->getRawSql();
68
}
69
70
/**
0 commit comments