From 4ee820a537414b68521228bab5c22dbabe54f1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hinrik=20=C3=96rn=20Sigur=C3=B0sson?= Date: Mon, 13 Nov 2017 14:52:07 +0100 Subject: [PATCH] Update sqlite readme sample to use TEXT (#71) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bca2ef8..d063907 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ require "sqlite3" DB.open "sqlite3:./file.db" do |db| # When using the pg driver, use $1, $2, etc. instead of ? - db.exec "create table contacts (name string, age integer)" + db.exec "create table contacts (name text, age integer)" db.exec "insert into contacts values (?, ?)", "John Doe", 30 args = [] of DB::Any