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.
1 parent aaf2812 commit be41965Copy full SHA for be41965
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