ClickhouseBuilder
ClickhouseBuilder copied to clipboard
Create/Drop table on cluster
Hello!
Now, where I want create table on cluster with this code:
$this->builder
->onCluster('test')
->createTableIfNotExists('test', 'ReplicatedMergeTree ORDER BY number', [
'number' => 'UInt64',
]);
I have error, because suffix ON CLUSTER test can't added.
This also applies to the DROP TABLE query.