From f961d2cdb6be4be73404839411c951bdf290012b Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Fri, 18 Sep 2020 17:50:11 -0300 Subject: [PATCH] Update sample --- samples/memory.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/memory.cr b/samples/memory.cr index 87e02cc..4b2ee5c 100644 --- a/samples/memory.cr +++ b/samples/memory.cr @@ -8,7 +8,7 @@ DB.open "sqlite3://%3Amemory%3A" do |db| args = [] of DB::Any args << "Sarah" args << 33 - db.exec "insert into contacts values (?, ?)", args + db.exec "insert into contacts values (?, ?)", args: args puts "max age:" puts db.scalar "select max(age) from contacts" # => 33