summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index b26708c..fbbd30e 100644
--- a/README.md
+++ b/README.md
@@ -124,6 +124,8 @@ Only the `mode` field is mandatory, the other fields have sane default values.
124sqlite works exclusively by using prepared statements. The wrapper type is `sqlite.Statement`. Here is how you get one: 124sqlite works exclusively by using prepared statements. The wrapper type is `sqlite.Statement`. Here is how you get one:
125 125
126```zig 126```zig
127try db.exec("CREATE TABLE IF NOT EXISTS employees(id integer primary key, name text, age integer, salary integer)", .{}, .{});
128
127const query = 129const query =
128 \\SELECT id, name, age, salary FROM employees WHERE age > ? AND age < ? 130 \\SELECT id, name, age, salary FROM employees WHERE age > ? AND age < ?
129; 131;