Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for Salary (0.04 seconds)

  1. tests/migrate_test.go

    	type UserMigrateColumn struct {
    		ID       uint
    		Name     string
    		Salary   float64
    		Birthday time.Time `gorm:"precision:4"`
    	}
    
    	DB.Migrator().DropTable(&UserMigrateColumn{})
    
    	DB.AutoMigrate(&UserMigrateColumn{})
    
    	type UserMigrateColumn2 struct {
    		ID                  uint
    		Name                string    `gorm:"size:128"`
    		Salary              float64   `gorm:"precision:2"`
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  2. internal/s3select/sql/analysis.go

    // row. They have an output for each input row.
    //
    // Some types of a queries are not valid. For example, an aggregation
    // function combined with a row function is meaningless ("AVG(s.Age) +
    // s.Salary"). Analysis determines if such a scenario exists so an
    // error can be returned.
    
    var (
    	// Fatal error for query processing.
    	errNestedAggregation      = errors.New("Cannot nest aggregations")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. docs_src/query_params_str_validations/tutorial015_an_py310.py

    import random
    from typing import Annotated
    
    from fastapi import FastAPI
    from pydantic import AfterValidator
    
    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 01 22:02:35 GMT 2025
    - 768 bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/query-param-models.md

            }
        ]
    }
    ```
    
    ## Zusammenfassung { #summary }
    
    Sie können **Pydantic-Modelle** verwenden, um **Query-Parameter** in **FastAPI** zu deklarieren. 😎
    
    /// tip | Tipp
    
    Spoiler-Alarm: Sie können auch Pydantic-Modelle verwenden, um Cookies und Header zu deklarieren, aber darüber werden Sie später im Tutorial lesen. 🤫
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. lib/time/zoneinfo.zip

    Asia/Thimbu Asia/Thimphu Asia/Tokyo Asia/Tomsk Asia/Ujung_Pandang Asia/Ulaanbaatar Asia/Ulan_Bator Asia/Urumqi Asia/Ust-Nera Asia/Vientiane Asia/Vladivostok Asia/Yakutsk Asia/Yangon Asia/Yekaterinburg Asia/Yerevan Atlantic/Azores Atlantic/Bermuda Atlantic/Canary Atlantic/Cape_Verde Atlantic/Faeroe Atlantic/Faroe Atlantic/Jan_Mayen Atlantic/Madeira Atlantic/Reykjavik Atlantic/South_Georgia Atlantic/St_Helena Atlantic/Stanley Australia/ACT Australia/Adelaide Australia/Brisbane Australia/Broken_Hill Australia/Canberra...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Dec 11 16:47:56 GMT 2025
    - 398.6K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/query-params-str-validations.md

    Потім, використовуючи `random.choice()`, ми можемо отримати випадкове значення зі списку, тобто отримуємо кортеж із `(id, name)`. Це може бути щось на зразок `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`.
    
    Далі ми присвоюємо ці два значення кортежу змінним `id` і `name`.
    
    Тож, якщо користувач не вказав ID елемента, він все одно отримає випадкову рекомендацію.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.9K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    Then with `random.choice()` we can get a **random value** from the list, so, we get a tuple with `(id, name)`. It will be something like `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`.
    
    Then we **assign those two values** of the tuple to the variables `id` and `name`.
    
    So, if the user didn't provide an item ID, they will still receive a random suggestion.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

    Затем с `random.choice()` можно получить **случайное значение** из списка — то есть кортеж вида `(id, name)`. Это будет что‑то вроде `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`.
    
    После этого мы **присваиваем эти два значения** кортежа переменным `id` и `name`.
    
    Так что, если пользователь не передал ID элемента, он всё равно получит случайную рекомендацию.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/query-params-str-validations.md

    我們用 `list(data.items())` 把這個可疊代物件轉成正式的 `list`。
    
    接著用 `random.choice()` 從清單中取得一個「隨機值」,也就是一個 `(id, name)` 的 tuple。可能像是 `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`。
    
    然後把這個 tuple 的兩個值分別指定給變數 `id` 和 `name`。
    
    因此,即使使用者沒有提供 item ID,仍然會收到一個隨機建議。
    
    ……而這全部只用一行簡單的程式碼完成。🤯 你不愛 Python 嗎?🐍
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/behind-a-proxy.md

    Se você definir como `--forwarded-allow-ips="*"`, ele confiará em todos os IPs de entrada.
    
    Se o seu **servidor** estiver atrás de um **proxy** confiável e somente o proxy falar com ele, isso fará com que ele aceite seja qual for o IP desse **proxy**.
    
    <div class="termy">
    
    ```console
    $ fastapi run --forwarded-allow-ips="*"
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top