{"version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/noqisofon/","categories":["Ruby","\u3063\u3066\u307f\u305f","SQLite"],"height":"190","url":"https://noqisofon.hatenablog.com/entry/20101219/1292687825","published":"2010-12-19 00:57:05","description":"Ruby \u3067 sqlite3 \u3092\u4f7f\u3046\u306b\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u3053\u3093\u306a\u98a8\u306b\u6253\u3063\u3066\u306d\u3002 gem install sqlite3-ruby \u4f7f\u3046\u6642\u306f\u4e0a\u306e\u65b9\u306b: require 'sqlite3' \u3063\u3066\u66f8\u3044\u3068\u3051\u3070\u304a\uff4b\u3002 \u6b21\u306f\u65e9\u901f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u3088\u3046\u3002 \u4eca\u56de\u306e\u4f8b\u984c\u306f SQL\u3067\u96c6\u5408\u6f14\u7b97[codezine.jp] \u306e\u300c\u5dee\u96c6\u5408\u3067\u95a2\u4fc2\u9664\u7b97\u3092\u8868\u73fe\u3059\u308b\u300d\u3063\u3066\u3068\u3053\u3002 # \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 # \u76f4\u3050\u306b\u7a7a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb employees.db \u304c\u3067\u304d\u307e\u3059\u3002 # \u65e2\u306b\u5b58\u5728\u3059\u308b\u5834\u5408\u306f\u3001\u8aad\u307f\u8fbc\u3080\u3060\u3051\u3067\u3059\u3002 db = SQLite3::Database.new( \"employees.db\" ) \u3053\u308c\u3067\u3001\u30b3\u2026","image_url":null,"blog_title":"\u60f3\u50cf\u529b\u306e\u6b20\u5982\u306f\u6df1\u523b\u306a\u6b20\u70b9\u306e\u4e00\u3064\u3067\u3042\u308b\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoqisofon.hatenablog.com%2Fentry%2F20101219%2F1292687825\" title=\"Ruby \u3067 SQLite \u3063\u3066\u307f\u305f - \u60f3\u50cf\u529b\u306e\u6b20\u5982\u306f\u6df1\u523b\u306a\u6b20\u70b9\u306e\u4e00\u3064\u3067\u3042\u308b\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","title":"Ruby \u3067 SQLite \u3063\u3066\u307f\u305f","author_name":"noqisofon","blog_url":"https://noqisofon.hatenablog.com/","type":"rich","provider_name":"Hatena Blog"}