Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,084 for query (0.14 sec)

  1. callbacks/query.go

    package callbacks
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func Query(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    
    		if !db.DryRun && db.Error == nil {
    			rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    			if err != nil {
    				db.AddError(err)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-params.md

    # Query-Parameter
    
    Wenn Sie in ihrer Funktion Parameter deklarieren, die nicht Teil der Pfad-Parameter sind, dann werden diese automatisch als „Query“-Parameter interpretiert.
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    Query-Parameter (Deutsch: Abfrage-Parameter) sind die Schlüssel-Wert-Paare, die nach dem `?` in einer URL aufgelistet sind, getrennt durch `&`-Zeichen.
    
    Zum Beispiel sind in der URL:
    
    ```
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 25 14:53:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/tr/docs/tutorial/query-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    Bu durumda, `q` fonksiyon parametresi isteğe bağlı olacak ve varsayılan değer olarak `None` alacaktır.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/query-params.md

    ## 📦 🔢
    
    🎏 🌌, 👆 💪 📣 📦 🔢 🔢, ⚒ 👫 🔢 `None`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    👉 💼, 🔢 🔢 `q` 🔜 📦, & 🔜 `None` 🔢.
    
    !!! check
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/query-params.md

    # Query Parameters
    
    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/main/resources/fess_query.xml

    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="queryFieldConfig"
    		class="org.codelibs.fess.query.QueryFieldConfig">
    	</component>
    
    	<component name="queryProcessor"
    		class="org.codelibs.fess.query.QueryProcessor">
    	</component>
    
    	<component name="booleanQueryCommand"
    		class="org.codelibs.fess.query.BooleanQueryCommand">
    		<postConstruct name="register"></postConstruct>
    	</component>
    XML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sat Mar 19 03:54:52 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/query-params.md

    * `limit=10`:使用默认值
    
    ## 可选参数
    
    同理,把默认值设为 `None` 即可声明**可选的**查询参数:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    
    本例中,查询参数 `q` 是可选的,默认值为 `None`。
    
    !!! check "检查"
    
        注意,**FastAPI** 可以识别出 `item_id` 是路径参数,`q` 不是路径参数,而是查询参数。
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/query-params.md

    매개변수들은 이름으로 감지됩니다:
    
    ```Python hl_lines="8  10"
    {!../../../docs_src/query_params/tutorial004.py!}
    ```
    
    ## 필수 쿼리 매개변수
    
    경로가 아닌 매개변수에 대한 기본값을 선언할 때(지금은 쿼리 매개변수만 보았습니다), 해당 매개변수는 필수적(Required)이지 않았습니다.
    
    특정값을 추가하지 않고 선택적으로 만들기 위해선 기본값을 `None`으로 설정하면 됩니다.
    
    그러나 쿼리 매개변수를 필수로 만들려면 단순히 기본값을 선언하지 않으면 됩니다:
    
    ```Python hl_lines="6-7"
    {!../../../docs_src/query_params/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/query-params.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    La partie appelée requête (ou **query**) dans une URL est l'ensemble des paires clés-valeurs placées après le `?` , séparées par des `&`.
    
    Par exemple, dans l'URL :
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. tests/test_query.py

                    {
                        "loc": ["query", "query"],
                        "msg": "value is not a valid integer",
                        "type": "type_error.integer",
                    }
                ]
            }
        )
    
    
    def test_query_frozenset_query_1_query_1_query_2():
        response = client.get("/query/frozenset/?query=1&query=1&query=2")
        assert response.status_code == 200
        assert response.json() == "1,2"
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top