Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Salary (0.04 sec)

  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"`
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (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")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. 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. 🤫
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py

        response = client.get("/items?id=isbn-9781529046137")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "id": "isbn-9781529046137",
            "name": "The Hitchhiker's Guide to the Galaxy",
        }
    
    
    def test_get_item_does_not_exist(client: TestClient):
        response = client.get("/items?id=isbn-nope")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. 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="*"
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. 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 элемента, он всё равно получит случайную рекомендацию.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/query-params-str-validations.md

    Luego con `random.choice()` podemos obtener un **valor aleatorio** de la lista, así que obtenemos una tupla con `(id, name)`. Será algo como `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`.
    
    Luego **asignamos esos dos valores** de la tupla a las variables `id` y `name`.
    
    Así, si el usuario no proporcionó un ID de ítem, aún recibirá una sugerencia aleatoria.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/query-params-str-validations.md

    Dann können wir mit `random.choice()` einen **zufälligen Wert** aus der Liste erhalten, also bekommen wir ein Tuple mit `(id, name)`. Es wird etwas wie `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")` sein.
    
    Dann **weisen wir diese beiden Werte** des Tupels den Variablen `id` und `name` zu.
    
    Wenn der Benutzer also keine Artikel-ID bereitgestellt hat, erhält er trotzdem einen zufälligen Vorschlag.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/query-params-str-validations.md

    Em seguida, com `random.choice()` podemos obter um **valor aleatório** da lista, então obtemos uma tupla com `(id, name)`. Será algo como `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`.
    
    Depois **atribuímos esses dois valores** da tupla às variáveis `id` e `name`.
    
    Assim, se o usuário não fornecer um ID de item, ele ainda receberá uma sugestão aleatória.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top