fil commited on
Commit
f49a437
·
1 Parent(s): c70cb8c

update source.md

Browse files
Files changed (1) hide show
  1. docs/source.md +14 -4
docs/source.md CHANGED
@@ -38,9 +38,19 @@ FileAttachment("data/presse.parquet.sh")
38
  );
39
  ```
40
 
41
- This is the file that the other pages load with DuckDB, as a FileAttachment:
42
 
43
- ```js echo run=false
44
- import { DuckDBClient } from "npm:@observablehq/duckdb";
45
- const db = DuckDBClient.of({ presse: FileAttachment("data/presse.parquet") });
 
 
46
  ```
 
 
 
 
 
 
 
 
 
38
  );
39
  ```
40
 
41
+ This is the file that the other pages reference in the front matter:
42
 
43
+ ```yaml
44
+ ---
45
+ sql:
46
+ presse: data/presse.parquet
47
+ ---
48
  ```
49
+
50
+ and process with [sql](https://observablehq.com/framework/sql) code blocks:
51
+
52
+ ````
53
+ ```sql
54
+ SELECT COUNT() FROM presse
55
+ ```
56
+ ````