{"description":"\u4eca\u307e\u3067DB\u306b\u30d3\u30e5\u30fc\u3092\u4f5c\u3063\u3066\u3044\u305f\u3082\u306e\u3092\u3001\u3084\u3063\u3071\u308aDB\u3092\u3044\u3061\u3044\u3061\u5909\u3048\u308b\u306e\u304c\u9762\u5012\u306a\u306e\u3067orm\u3067\u5bfe\u5fdc\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002 myview.sql \u306b select col1, col2 from t1 %s order by col3 limit 1 \u3053\u3093\u306aselect\u6587\u304c\u3042\u308b\u3068\u3059\u308b\u3068 <?php class MyAction { public $num; public $vo; public function execute(DaoFactory $factory) { $dao = $factory->get(); $where = 'where col3 > ?'; // \u5b9f\u969b\u306f\u6761\u4ef6\u306b\u3088\u3063\u3066where\u2026","version":"1.0","width":"100%","url":"https://n314.hatenablog.com/entry/20071224/1198496126","blog_url":"https://n314.hatenablog.com/","image_url":null,"published":"2007-12-24 20:35:26","categories":["PHP","Laiz"],"author_name":"n314","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":" O/R\u30de\u30c3\u30d1\u30fc\u306b\u7591\u4f3c\u30d3\u30e5\u30fc\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u305f","height":"190","type":"rich","blog_title":"\u30ed\u30b0\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn314.hatenablog.com%2Fentry%2F20071224%2F1198496126\" title=\" O/R\u30de\u30c3\u30d1\u30fc\u306b\u7591\u4f3c\u30d3\u30e5\u30fc\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u305f - \u30ed\u30b0\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/n314/"}