Skip to content

Commit 75cb374

Browse files
authored
Update install.md
1 parent 598f2e1 commit 75cb374

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/install.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ import chdb
4747
</script>
4848

4949
<!-- tabs:end -->
50-
51-
5250
<!-- tabs:start -->
51+
5352
#### ** SQL dialect **
5453

5554
chDB is a wrapper around ClickHouse, so it supports exactly the same [SQL syntax](https://clickhouse.com/docs/en/sql-reference/syntax), including joins, CTEs, set operations, aggregations and window functions.
@@ -92,7 +91,6 @@ Note a couple of things here:
9291
- The second argument to the `query` method specifies the output format. There are many [supported formats](/formats) such as `CSV`, `SQLInsert`, `JSON` and `XML` (try changing the format in the above example and re-running the code). The default one is `CSV`.
9392

9493
<!-- tabs:end -->
95-
9694
<!-- tabs:start -->
9795

9896
#### **Reading data**
@@ -156,7 +154,6 @@ print(res, end="")
156154
</codapi-snippet>
157155

158156
<!-- tabs:end -->
159-
160157
<!-- tabs:start -->
161158

162159
#### **Writing data**
@@ -208,7 +205,12 @@ frame.info()
208205
<codapi-snippet sandbox="chdb-python" editor="basic" template="#main.py" files="data/employees.csv">
209206
</codapi-snippet>
210207

211-
To persist a chDB session to a specific folder on disk, use the `path` constructor parameter. This way you can restore the session later:
208+
<!-- tabs:end -->
209+
<!-- tabs:start -->
210+
211+
#### **Persistent Sessions**
212+
213+
To persist a chDB persistent session to a specific folder on disk, use the `path` constructor parameter. This way you can restore the session later:
212214

213215
```python
214216
from chdb.session import Session
@@ -247,7 +249,6 @@ print(res, end="")
247249
</codapi-snippet>
248250

249251
<!-- tabs:end -->
250-
251252
<!-- tabs:start -->
252253

253254
#### **User-defined functions**
@@ -316,8 +317,8 @@ chDB Python UDF requirements:
316317
```
317318
6. Python interpertor used is the same as the one used to run the script. Get from `sys.executable`
318319

319-
<!-- tabs:end -->
320320

321+
<!-- tabs:end -->
321322
<!-- tabs:start -->
322323

323324
#### **Python Database API**
@@ -340,10 +341,10 @@ with closing(dbapi.connect()) as conn:
340341
<codapi-snippet sandbox="chdb-python" editor="basic">
341342
</codapi-snippet>
342343

343-
<!-- tabs:end -->
344-
345344
For more examples, see [examples](https://github.com/chdb-io/chdb/tree/main/examples) and [tests](https://github.com/chdb-io/chdb/tree/main/tests).
346345

346+
<!-- tabs:end -->
347+
347348
<br>
348349

349350
### **NodeJS**

0 commit comments

Comments
 (0)