Skip to content

Instantly share code, notes, and snippets.

We couldn’t find that file to show.
~ sqlite3 dummy.db
-- Loading resources from /home/codedivision/.sqliterc
SQLite version 3.8.2 2013-12-06 14:53:30
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .schema
CREATE TABLE users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
first_name VARCHAR(64) NOT NULL,
# original count/status
ctr = 0
hello = gets.chomp
# print out the raw
puts hello.inspect
# ctr += 1 if hello == ""
# print out what's ctr (iaw status)