-
-
Save anonymous/b7be7ea76ba646168ed5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):002:0> require 'sequel' | |
=> true | |
irb(main):003:0> require 'mysql2' | |
=> true | |
irb(main):004:0> DB = Mysql2::Client.new(:host => "localhost", :username => "patinhas", :password => "testest") | |
=> #<Mysql2::Client:0x00000000e57d88> | |
irb(main):005:0> | |
I have a table called "omg" and i want to select everything from it, i tried... | |
DB.query ("SELECT * FROM 'omg',") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment