public
Created

  • Download Gist
sample.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/env ruby
# encoding: UTF-8
 
require 'sqlite3'
db = SQLite3::Database.open('hellenic_words.db')
 
db.results_as_hash = true
result_set = db.execute( "SELECT sha1 FROM hellenic_words_databases" )
 
result_set.each do |row|
row.each do |key, value|
puts "#{key}, #{value}" if value['24897aaa317b0dec6bb01d3abcbf17048cb8b6e3']
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.