Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sqlite send a query to a Sqlite DB with Ruby

require 'sqlite3'
DB = SQLite3::Database.new("db/doctors.db")

rows = DB.execute('SELECT * FROM doctors')
Source by kitt.lewagon.com #
 
PREVIOUS NEXT
Tagged: #sqlite #send #query #Sqlite #DB #Ruby
ADD COMMENT
Topic
Name
6+1 =