<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n314</author_name>
  <author_url>https://blog.hatena.ne.jp/n314/</author_url>
  <blog_title>ログ日記</blog_title>
  <blog_url>https://n314.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>Laiz</anon>
  </categories>
  <description>今までDBにビューを作っていたものを、やっぱりDBをいちいち変えるのが面倒なのでormで対応することにした。 myview.sql に select col1, col2 from t1 %s order by col3 limit 1 こんなselect文があるとすると &lt;?php class MyAction { public $num; public $vo; public function execute(DaoFactory $factory) { $dao = $factory-&gt;get(); $where = 'where col3 &gt; ?'; // 実際は条件によってwhere…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn314.hatenablog.com%2Fentry%2F20071224%2F1198496126&quot; title=&quot; O/Rマッパーに疑似ビュー機能を追加した - ログ日記&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>2007-12-24 20:35:26</published>
  <title> O/Rマッパーに疑似ビュー機能を追加した</title>
  <type>rich</type>
  <url>https://n314.hatenablog.com/entry/20071224/1198496126</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
