You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`duckdb` is the binary for the duckdb shell with the extension code automatically loaded.
32
32
-`unittest` is the test runner of duckdb. Again, the extension is already linked into the binary.
33
-
-`quack.duckdb_extension` is the loadable binary as it would be distributed.
33
+
-`netquack.duckdb_extension` is the loadable binary as it would be distributed.
34
34
35
35
## Running the extension
36
36
To run the extension code, simply start the shell with `./build/release/duckdb`.
37
37
38
-
Now we can use the features from the extension directly in DuckDB. The template contains a single scalar function `quack()` that takes a string arguments and returns a string:
38
+
Now we can use the features from the extension directly in DuckDB. The template contains a single scalar function `netquack()` that takes a string arguments and returns a string:
39
39
```
40
-
D select quack('Jane') as result;
40
+
D select netquack('Jane') as result;
41
41
┌───────────────┐
42
42
│ result │
43
43
│ varchar │
44
44
├───────────────┤
45
-
│ Quack Jane 🐥 │
45
+
│ Netquack Jane 🐥 │
46
46
└───────────────┘
47
47
```
48
48
@@ -81,6 +81,6 @@ DuckDB. To specify a specific version, you can pass the version instead.
81
81
82
82
After running these steps, you can install and load your extension using the regular INSTALL/LOAD commands in DuckDB:
0 commit comments