<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motemen</author_name>
  <author_url>https://blog.hatena.ne.jp/motemen/</author_url>
  <blog_title>詩と創作・思索のひろば</blog_title>
  <blog_url>https://motemen.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>Go でリレーショナルデータベースを利用したアプリケーションを書いているとき、動的に SQL を組み立てたい場合には、いくつかの方法が考えられます: クエリビルダを使う。世の中にすでにいろいろ存在します。（そのためのライブラリなので）動的に生成するにはもってこいですが、この場合、それぞれのライブラリに合わせた書き方をしなければならないので読み手にもある程度負荷がある点、また、Go は言語として冗長に書くことをよしとする思想を持っているため、DSL 的な API との相性が悪いという欠点があります（map の組み立てが冗長、条件分岐する式が書けないなど）。また、一般にクエリビルダから生成される …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotemen.hatenablog.com%2Fentry%2F2015%2F09%2Fgo-sqlf&quot; title=&quot;Go のシンプルかつ明快な SQL クエリビルダ go-sqlf - 詩と創作・思索のひろば&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>2015-09-10 08:30:00</published>
  <title>Go のシンプルかつ明快な SQL クエリビルダ go-sqlf</title>
  <type>rich</type>
  <url>https://motemen.hatenablog.com/entry/2015/09/go-sqlf</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
