<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>na_ah</author_name>
  <author_url>https://blog.hatena.ne.jp/na_ah/</author_url>
  <blog_title>na_ahのブログ</blog_title>
  <blog_url>https://na-ah.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは！ 今回はRubyでSQLiteを使う方法をまとめます。 SQLiteのGemを取得 コンソールで下記を実行 gem install sqlite3 SQLiteを読み込み 使用したいrbファイルに下記を記載 require 'sqlite3' dbファイルを作成 変数に代入しない場合 SQLite3::Database.new('test.db') 変数に代入する場合 db = SQLite3::Database.new('test.db') テーブルを作成 dbの変数に対しexecuteメソッドを実行し、SQLを渡す db.execute('CREATE TABLE test_t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fna-ah.hatenablog.com%2Fentry%2F2023%2F12%2F10%2F232848&quot; title=&quot;RubyでSQLiteを使う方法 - na_ahのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-10 23:28:48</published>
  <title>RubyでSQLiteを使う方法</title>
  <type>rich</type>
  <url>https://na-ah.hatenablog.com/entry/2023/12/10/232848</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
