Skip to content

Commit b10aae6

Browse files
authored
Update README.md
1 parent f885d0a commit b10aae6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ D SELECT * FROM parquet_schema('https://urleng.glitch.me/test.parquet');
6161
```
6262

6363
##### HTTP/S HEADERS
64+
When Authentication is enabled, you can pass headers and other parameters using _SECRETS_
65+
6466
```sql
6567
CREATE SECRET extra_http_headers (
6668
TYPE HTTP,
@@ -71,6 +73,17 @@ CREATE SECRET extra_http_headers (
7173
);
7274
```
7375

76+
##### Native format
77+
78+
You can also upload and attach a native DuckDB `.duckdb` database file and attach it to a read-only session
79+
```bash
80+
curl --data-binary @/path/to/myduck.db https://urleng.glitch.me/myduck.db
81+
```
82+
```sql
83+
ATTACH 'https://urleng.glitch.me/myduck.db' as remote; SELECT * FROM remote.table;
84+
```
85+
86+
7487

7588
#### 📦 ClickHouse
7689
##### INSERT

0 commit comments

Comments
 (0)