Skip to content

Commit

Permalink
tweak example sql
Browse files Browse the repository at this point in the history
  • Loading branch information
karlseguin committed Oct 19, 2024
1 parent 15a10c7 commit 816f69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const flags = zqlite.OpenFlags.Create | zqlite.OpenFlags.EXResCode;
var conn = try zqlite.open("/tmp/test.sqlite", flags);
defer conn.close();
try conn.exec("create table test (name text)", .{});
try conn.exec("create table if not exists test (name text)", .{});
try conn.exec("insert into test (name) values (?1), (?2)", .{"Leto", "Ghanima"});
{
Expand Down

0 comments on commit 816f69d

Please sign in to comment.