<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Snaka</author_name>
  <author_url>https://blog.hatena.ne.jp/Snaka/</author_url>
  <blog_title>Lost+Found</blog_title>
  <blog_url>https://snaka.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>sequel</anon>
  </categories>
  <description>DB作成 sequel sqlite://hoge.dbでコマンドプロンプトモードに入ると同時にdbファイルが作成され、DBという変数からオブジェクトが参照できるようになる。 テーブル作成 DB &lt;&lt; 'create table t (a text, b text)'DB SQL文を直接記述できる。同じようにinsertは以下のように書ける。 DB &lt;&lt; &quot;insert into t values ('a', 'b')&quot; テーブルのレコード数を求める DB[:access_log].count レコードセットの取得 t = DB[:t] レコードの追加 t.insert(:a =&gt; &quot;hoge…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsnaka.hatenadiary.org%2Fentry%2F20090709%2F1247155835&quot; title=&quot;herokuでsqliteなsequelつかうときのメモ - Lost+Found&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>2009-07-09 01:10:35</published>
  <title>herokuでsqliteなsequelつかうときのメモ</title>
  <type>rich</type>
  <url>https://snaka.hatenadiary.org/entry/20090709/1247155835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
