<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dayflower</author_name>
  <author_url>https://blog.hatena.ne.jp/dayflower/</author_url>
  <blog_title>daily dayflower</blog_title>
  <blog_url>https://dayflower.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>以前も書いたように DBIC でのリレーションは，PREFETCH すると INNER JOIN や OUTER JOIN な SQL が発行されます。一方，ページャとして有用な page, rows アトリビュートは LIMIT, OFFSET を利用しています。ですから， my $artists = $schema-&gt;resultset('Artist')-&gt;search( { }, { page =&gt; 1, rows =&gt; 5, prefetch =&gt; [ 'albums' ], } );みたいにして artist を5人アルバム情報込みでゲットだぜ，と思うとはまります（アルバム情報5つ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20060724%2F1153734768&quot; title=&quot; DBIC で JOIN (prefetch) と rows の相性よくない？ - daily dayflower&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>2006-07-24 18:52:48</published>
  <title> DBIC で JOIN (prefetch) と rows の相性よくない？</title>
  <type>rich</type>
  <url>https://dayflower.hatenablog.com/entry/20060724/1153734768</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
