{"author_url":"https://blog.hatena.ne.jp/tmtms/","categories":["Ruby","MySQL"],"blog_title":"tmtms \u306e\u30e1\u30e2","title":" Ruby/MySQL 3.0.1 alpha","author_name":"tmtms","published":"2009-07-12 02:03:16","height":"190","image_url":null,"url":"https://blog.tmtms.net/entry/20090712/1247418196","type":"rich","version":"1.0","blog_url":"https://blog.tmtms.net/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F20090712%2F1247418196\" title=\" Ruby/MySQL 3.0.1 alpha - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Ruby/MySQL 3.0.1 \u3092\u4f5c\u308a\u307e\u3057\u305f\u3002\u76f8\u5909\u308f\u3089\u305a\u30a2\u30eb\u30d5\u30a1\u7248\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6b21\u306e\u3088\u3046\u306b\u3002 # sudo gem install tmtm-ruby-mysql --source http://gems.github.com3.0.0 \u304b\u3089\u306e\u5909\u66f4\u70b9 Mysql#query \u3067\u52dd\u624b\u306b\u30d7\u30ea\u30da\u30a2\u30c9\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u3046\u306e\u3092\u3084\u3081\u307e\u3057\u305f\u3002\u3044\u308d\u3044\u308d\u3068\u8907\u96d1\u306b\u306a\u3063\u3066\u305f\u306e\u3067\u3002\u305f\u3060\u3057\u3001\u30af\u30a8\u30ea\u6587\u5b57\u5217\u4ee5\u5916\u306e\u5f15\u6570\u304c\u3064\u3044\u3066\u3044\u308b\u5834\u5408\u306f\u30d7\u30ea\u30da\u30a2\u30c9\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 mysql.query(\"select 1,2,3\") # \u30d7\u30ea\u30da\u30a2\u30c9\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u306f\u306a\u3044 mysql.query(\"select ?,?,?\u2026","width":"100%"}