<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Sequel</anon>
  </categories>
  <description>前回 からの続きです。 今回はいろんな SELECT クエリを記述するために使用されるメソッド等について書いてみます。 データセット その前にまずデータセットについて説明します。 テーブルからレコードやカラムを絞り込んだものをデータセットといいます。 DB[:tbl] はテーブル全体を表すデータセットオブジェクトです。 データセットオブジェクトに対する where, select 等のメソッドは元のデータセットを変更するのではなく、新たなデータセットを返します。 ds1 = DB[:tbl].where(:col1 =&gt; 123) #=&gt; SELECT * FROM tbl WHERE col…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F2013%2F11%2F05%2Fsequel&quot; title=&quot;Sequel について (その2) - tmtms のメモ&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>2013-11-05 23:23:54</published>
  <title>Sequel について (その2)</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/2013/11/05/sequel</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
