diff --git a/Connection.php b/Connection.php index ee16a5e..df3526e 100644 --- a/Connection.php +++ b/Connection.php @@ -31,6 +31,13 @@ class Connection extends \yii\db\Connection */ public $clientOptions = []; + /** + * Settings of the clickhouse client + * + * @var array + */ + public $clientSettings = []; + /** * @var Client */ @@ -70,7 +77,7 @@ public function open() ], $this->clientOptions), array_merge([ 'database' => $config['database'] ?? 'default', - ], $this->attributes ?? []) + ], $this->attributes ?? [], $this->clientSettings) ); } }