Update sqlite readme sample to use TEXT (#71)

This commit is contained in:
Hinrik Örn Sigurðsson 2017-11-13 14:52:07 +01:00 committed by Brian J. Cardiff
parent 437f8c39ec
commit 4ee820a537
1 changed files with 1 additions and 1 deletions

View File

@ -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