Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 380 for query1 (0.05 sec)

  1. tests/test_openapi_examples.py

                                "examples": {
                                    "Query One": {
                                        "summary": "Query One Summary",
                                        "description": "Query One Description",
                                        "value": "query1",
                                    },
                                    "Query Two": {"value": "query2"},
                                },
                            }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/query-params.md

    # Query-параметры
    
    Когда вы объявляете параметры функции, которые не являются параметрами пути,  они автоматически интерпретируются как "query"-параметры.
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params/tutorial001.py!}
    ```
    
    Query-параметры представляют из себя набор пар ключ-значение, которые идут после знака `?` в URL-адресе, разделенные символами `&`.
    
    Например, в этом URL-адресе:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. 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)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 10.1K bytes
    - Viewed (1)
  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
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/query-params.md

    # Parámetros de query
    
    Cuando declaras otros parámetros de la función que no hacen parte de los parámetros de path estos se interpretan automáticamente como parámetros de "query".
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params/tutorial001.py!}
    ```
    
    El query es el conjunto de pares de key-value que van después del `?` en la URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Query Parameters with a Pydantic Model
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...필수 매개변수 `needy`를 넣지 않았기 때문에 아래와 같은 오류를 보게 됩니다:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy`는 필수 매개변수이므로 URL에 반드시 설정해줘야 합니다:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/query-params-str-validations.md

    Imagine que você queira que um parâmetro tenha o nome `item-query`.
    
    Desta maneira:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Mas o nome `item-query` não é um nome de váriavel válido no Python.
    
    O que mais se aproxima é `item_query`.
    
    Mas ainda você precisa que o nome seja exatamente `item-query`...
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/query-params.md

    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    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
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:06:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top