Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for 18 (0.51 sec)

  1. clause/where_test.go

    			}},
    			"SELECT * FROM `users` WHERE `age` = ? OR `name` <> ?",
    			[]interface{}{18, "jinzhu"},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. tests/default_value_test.go

    		Name    string    `gorm:"notNull;default:foo"`
    		Name2   string    `gorm:"size:233;not null;default:'foo'"`
    		Name3   string    `gorm:"size:233;notNull;default:''"`
    		Age     int       `gorm:"default:18"`
    		Created time.Time `gorm:"default:2000-01-02"`
    		Enabled bool      `gorm:"default:true"`
    	}
    
    	DB.Migrator().DropTable(&Harumph{})
    
    	if err := DB.AutoMigrate(&Harumph{}); err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body.md

    ```Python hl_lines="17-18"
    {!../../../docs_src/body/tutorial003.py!}
    ```
    
    ## Тело запроса + параметры пути + параметры запроса
    
    Вы также можете одновременно объявить параметры для **пути**, **запроса** и **тела запроса**.
    
    **FastAPI** распознает каждый из них и возьмет данные из правильного источника.
    
    ```Python hl_lines="18"
    {!../../../docs_src/body/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body.md

    ```Python hl_lines="17-18"
    {!../../../docs_src/body/tutorial003.py!}
    ```
    
    ## Corpo da requisição + parâmetros de rota + parâmetros de consulta
    
    Você também pode declarar parâmetros de **corpo**, **rota** e **consulta**, ao mesmo tempo.
    
    O **FastAPI** irá reconhecer cada um deles e retirar a informação do local correto.
    
    ```Python hl_lines="18"
    {!../../../docs_src/body/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body.md

    使用与声明路径和查询参数相同的方式声明请求体,把请求体添加至*路径操作*:
    
    === "Python 3.10+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/body/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/body/tutorial001.py!}
        ```
    
    ……此处,请求体参数的类型为 `Item` 模型。
    
    ## 结论
    
    仅使用 Python 类型声明,**FastAPI** 就可以:
    
    * 以 JSON 形式读取请求体
    * (在必要时)把请求体转换为对应的类型
    * 校验数据:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## 📣 ⚫️ 🔢
    
    🚮 ⚫️ 👆 *➡ 🛠️*, 📣 ⚫️ 🎏 🌌 👆 📣 ➡ &amp; 🔢 🔢:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/body/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/body/tutorial001_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. docs/em/docs/how-to/custom-request-and-route.md

    👉 🕰, ⚫️ 🔜 📁 👩‍🔬 `APIRoute.get_route_handler()`.
    
    👉 👩‍🔬 📨 🔢. &amp; 👈 🔢 ⚫️❔ 🔜 📨 📨 &amp; 📨 📨.
    
    📥 👥 ⚙️ ⚫️ ✍ `GzipRequest` ⚪️➡️ ⏮️ 📨.
    
    ```Python hl_lines="18-26"
    {!../../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    !!! note "📡 ℹ"
         `Request` ✔️ `request.scope` 🔢, 👈 🐍 `dict` ⚗ 🗃 🔗 📨.
    
         `Request` ✔️ `request.receive`, 👈 🔢 "📨" 💪 📨.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/body.md

    === "Python 3.10+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/body/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/body/tutorial001.py!}
        ```
    
    ...그리고 만들어낸 모델인 `Item`으로 타입을 선언합니다.
    
    ## 결과
    
    위에서의 단순한 파이썬 타입 선언으로, **FastAPI**는 다음과 같이 동작합니다:
    
    * 요청의 본문을 JSON으로 읽어 들입니다.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/body-multiple-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 6,
            "w": 6,
            "x": 18,
            "y": 18
          },
          "id": 69,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 102K bytes
    - Viewed (0)
Back to top