<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智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 查詢條件 DbModel支持鏈式調用進行連表查詢。 ~~~ DbModel::joinTable($table, $one, $operator, $two, $type = 'left') ~~~ 參數表: | 參數名稱 | 必選 | 類型 | 說明 | | --- | --- | --- | --- | | table | 是 | string | 要連接的表名 | | one | 是 | string | 第一字段 | | operator | 是 | string | 比較符 | | two | 是 | string | 第二字段 | | type | 否 | string | 連接方向,left, right, inner等 | 如果要在連表查詢中使用別名,可以在table參數中輸入,例如:user as u。見用例 用例: ~~~ /** * 連表查詢測試 * * @return array */ public function testLeftJoin() { $articles = $this->where('article.id', '<', 5) ->joinTable('hero', 'hero_id', '=', 'hero.id') ->getRows('article.*, hero.name, hero.email'); return $articles; } /** * 使用表別名的連表查詢測試 * * @return array */ public function testLeftJoinUsingAs() { $articles = $this->where('article.id', '<', 5) ->joinTable('hero as h', 'hero_id', '=', 'h.id') ->getRows('article.*, h.name, h.email'); return $articles; } ~~~
                  <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>

                              哎呀哎呀视频在线观看