<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # SQL Builder ## SQL Builder使用樣例 原版xorm提供了一個SQL Builder庫 [github.com/go-xorm/builder](https://github.com/go-xorm/builder)用來支持SQL Builder功能,本定制版本也支持該SQL Builder庫,使用樣例如下,詳細文檔請參閱[github.com/go-xorm/builder](https://github.com/go-xorm/builder)相關文檔 ``` err := engine.Where(builder.NotIn("a", 1, 2).And(builder.In("b", "c", "d", "e"))).Find(&users) // SELECT id, name ... FROM user WHERE a NOT IN (?, ?) AND b IN (?, ?, ?) ``` 當然,如果您喜歡SQL Builder方式組裝SQL,您也可以使用其他的第三方SQL Builder庫來完成SQL Builder操作組裝SQL語句交由xorm執行。 推薦如下第三方SQL Builder庫: * [github.com/doug-martin/goqu](https://github.com/doug-martin/goqu) * [github.com/shuoli84/sqlm](https://github.com/shuoli84/sqlm) * [github.com/doug-martin/goqu](https://github.com/doug-martin/goqu) * [github.com/Masterminds/squirrel](https://github.com/Masterminds/squirrel) * [github.com/elgris/sqrl](https://github.com/elgris/sqrl) 此外,[github.com/elgris/golang-sql-builder-benchmark](https://github.com/elgris/golang-sql-builder-benchmark)這個github庫還提供了部分SQL Builder的benchmark,大家可以依據自己的喜好和性能考量等多方面因素自由選用。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看