sqlite send a query to a sqlite db with ruby

Solutions on MaxInterview for sqlite send a query to a sqlite db with ruby by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "sqlite send a query to a sqlite db with ruby"
Safiya
25 Jan 2020
1require 'sqlite3'
2DB = SQLite3::Database.new("db/doctors.db")
3
4rows = DB.execute('SELECT * FROM doctors')
5
similar questions