Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DB = Sequel.connect('sqlite:///Users/Ryan/workspace/testing/clubland-2/clublandlv.sqlite')
- genre_sub = DB[:genres] #The database has two tables named genres and subgenres.
- genre_db = DB[:subgenres]
- g_sub = genre_sub.select(:genre_id)
- #Trying to collect all of the data from the genre_id column of the genres table.
- puts g_sub
- binding.pry
Advertisement
Add Comment
Please, Sign In to add comment