diff options
| author | 2024-08-31 20:03:54 +0200 | |
|---|---|---|
| committer | 2024-08-31 20:03:54 +0200 | |
| commit | 5be81150bb66e2a4813ebdd2ea9073d7ac19a8c8 (patch) | |
| tree | d0f749d6e4817098f2a700d312ec36087800baa3 | |
| parent | readme: remove note about not compiling, it's obsolete (diff) | |
| download | zig-sqlite-5be81150bb66e2a4813ebdd2ea9073d7ac19a8c8.tar.gz zig-sqlite-5be81150bb66e2a4813ebdd2ea9073d7ac19a8c8.tar.xz zig-sqlite-5be81150bb66e2a4813ebdd2ea9073d7ac19a8c8.zip | |
readme: link the demo repository
| -rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -197,14 +197,18 @@ $ zig build -Dtarget=native-linux-gnu.2.28 | |||
| 197 | 197 | ||
| 198 | # Usage | 198 | # Usage |
| 199 | 199 | ||
| 200 | ## Demo | ||
| 201 | |||
| 202 | See https://github.com/vrischmann/zig-sqlite-demo for a quick demo. | ||
| 203 | |||
| 204 | ## Initialization | ||
| 205 | |||
| 200 | Import `zig-sqlite` like this: | 206 | Import `zig-sqlite` like this: |
| 201 | 207 | ||
| 202 | ```zig | 208 | ```zig |
| 203 | const sqlite = @import("sqlite"); | 209 | const sqlite = @import("sqlite"); |
| 204 | ``` | 210 | ``` |
| 205 | 211 | ||
| 206 | ## Initialization | ||
| 207 | |||
| 208 | You must create and initialize an instance of `sqlite.Db`: | 212 | You must create and initialize an instance of `sqlite.Db`: |
| 209 | 213 | ||
| 210 | ```zig | 214 | ```zig |