add link to AR Mysql driver docs for option list
This commit is contained in:
parent
807f0a2730
commit
0a089e5c76
|
@ -22,7 +22,7 @@ Connect to a database:
|
|||
|
||||
# this takes a hash of options, almost all of which map directly
|
||||
# to the familiar database.yml in rails
|
||||
# NOTE: ssl option support coming really soon
|
||||
# See http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/MysqlAdapter.html
|
||||
client = Mysql2::Client.new(:host => "localhost", :username => "root")
|
||||
|
||||
Then query it:
|
||||
|
|
Loading…
Reference in New Issue