<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          tinaElasticsearch 的 Python 客戶端

          聯(lián)合創(chuàng)作 · 2023-09-29 03:43

          tina 是 Elasticsearch 的 Python client,提供較為方便的查詢語法。

          # SQL
          select * from "ExampleModel" where "name" = "tina"
          # tina
          models, total = ExampleModel.where('name', equal='tina').fetch()
          # SQL select * from "ExampleModel" where "category" = 1 or "category" = 3        order by "created_at" limit 20 offset 20
          # Python
          models, total = ExampleModel.where('category', contains=[1, 3])\        .order_by('created_at').fetch(20, 20)
          瀏覽 15
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  精品久久一区二区三区四区五区 | 欧美干逼 | 精品亲子伦√区一区三区 | 一级特黄色大片 | 四虎成人在线影院 |