We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aaf2812 + be41965 commit db12920Copy full SHA for db12920
src/Transport/Http.php
@@ -637,10 +637,10 @@ private function prepareWrite($sql, $bindings = []): CurlerRequest
637
return $this->getRequestWrite($query);
638
}
639
if (
640
- str_starts_with($sql, 'CREATE')
641
- || str_starts_with($sql, 'DROP')
642
- || str_starts_with($sql, 'ALTER')
643
- || str_starts_with($sql, 'RENAME')
+ !str_starts_with($sql, 'CREATE')
+ && !str_starts_with($sql, 'DROP')
+ && !str_starts_with($sql, 'ALTER')
+ && !str_starts_with($sql, 'RENAME')
644
) {
645
$query->setFormat('JSON');
646
0 commit comments