Create a gist now

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
# encoding: UTF-8
require 'sqlite3'
db ='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']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment