diff options
author | pks <pks@pks.rocks> | 2021-05-01 06:17:55 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-05-01 06:17:55 +0200 |
commit | f461190e22a97bde985b067ce01c4ed9c74f7e62 (patch) | |
tree | 0c2c48d1933765f83d083241df2dd74c6603f2bc /query-db.rb | |
parent | 63fbf0f3aadb4b6d037a8164b501fe836d9c361d (diff) |
v1
Diffstat (limited to 'query-db.rb')
-rwxr-xr-x | query-db.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/query-db.rb b/query-db.rb deleted file mode 100755 index 984a59d..0000000 --- a/query-db.rb +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env ruby - -require 'sqlite3' - -db = SQLite3::Database.new("weather.db") - -#db.execute("select * from rain") do |result| -# puts result.to_s -#end - -#db.execute("select * from wind") do |result| -# puts result.to_s -#end - -db.execute("select * from temp") do |result| - puts result.to_s -end - -db.close |