@@ -42,7 +42,7 @@ class ClickHouseClient
|
|||||||
curl_setopt_array($ch, [
|
curl_setopt_array($ch, [
|
||||||
CURLOPT_URL => $this->url() . '?' . http_build_query([
|
CURLOPT_URL => $this->url() . '?' . http_build_query([
|
||||||
'database' => $this->database,
|
'database' => $this->database,
|
||||||
'default_format' => 'JSONCompact',
|
'default_format' => 'JSON',
|
||||||
]),
|
]),
|
||||||
CURLOPT_POST => true,
|
CURLOPT_POST => true,
|
||||||
CURLOPT_POSTFIELDS => $sql,
|
CURLOPT_POSTFIELDS => $sql,
|
||||||
|
|||||||
Reference in New Issue
Block a user