Skip to content

Commit eb31b09

Browse files
committed
update docs
1 parent df0e98d commit eb31b09

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Or like this, if clickhouse runs in cluster
4040
'connections' => [
4141
'bavix::clickhouse' => [
4242
'driver' => 'bavix::clickhouse',
43-
'cluster' => [
44-
'server-1' => [
45-
'host' => '',
43+
'servers' => [
44+
[
45+
'host' => 'ch-00.domain.com',
4646
'port' => '',
4747
'database' => '',
4848
'username' => '',
@@ -52,8 +52,8 @@ Or like this, if clickhouse runs in cluster
5252
'protocol' => 'https'
5353
]
5454
],
55-
'server-2' => [
56-
'host' => '',
55+
[
56+
'host' => 'ch-01.domain.com',
5757
'port' => '',
5858
'database' => '',
5959
'username' => '',
@@ -65,7 +65,7 @@ Or like this, if clickhouse runs in cluster
6565
]
6666
]
6767
]
68-
]
68+
],
6969
```
7070

7171
Then create model

0 commit comments

Comments
 (0)