<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # DB模型查詢 模型查詢須創建模型加上where語句即可查詢出想要的數據集合;一般單表查詢適用。創建模型方法參考[模型創建](創建模型.md) 條件查詢方法(其跟普通查詢類似,只是不使用name傳表名,使用傳model類方便了后期維護) 查詢一個數據使用 ```java //傳模型類(好處不需要總是查看數據表名) Dtp info = Db.model(Dtp.class).where("id", 1).find(); ``` 查詢集合List使用,返回實體類 ```java List<Dtp> status = Db.model(Dtp.class).where("status", 1).select(); ``` 支持聯合查詢(語法類型跟tp5類似,只是用.來連接串起來) ```java List<Dtp> select_list = Db.model(Dtp.class).where("status",1).field("id,name").limit(2).order("id desc").select(); ``` 查詢使用whereData賦值 ```java WhereData where_data = new WhereData(); where_data.put("product_id",1); where_data.put("status",1); List<Dtp> select = Db.model(Dtp.class).where(where_data).order("id desc").limit(1, 2).select(); ```
                  <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>

                              哎呀哎呀视频在线观看