Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 826 for queryId (0.04 seconds)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    q: str | None = Query(default=None, max_length=50)
    ```
    
    This will validate the data, show a clear error when the data is not valid, and document the parameter in the OpenAPI schema *path operation*.
    
    ### `Query` as the default value or in `Annotated` { #query-as-the-default-value-or-in-annotated }
    
    Keep in mind that when using `Query` inside of `Annotated` you cannot use the `default` parameter for `Query`.
    
    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)
  2. docs/ko/docs/tutorial/query-param-models.md

    # 쿼리 매개변수 모델 { #query-parameter-models }
    
    연관된 **쿼리 매개변수** 그룹이 있다면 이를 선언하기 위해 **Pydantic 모델**을 생성할 수 있습니다.
    
    이렇게 하면 **여러 곳**에서 **모델을 재사용**할 수 있을 뿐만 아니라, 매개변수에 대한 검증 및 메타데이터도 한 번에 선언할 수 있습니다. 😎
    
    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.115.0`부터 지원됩니다. 🤓
    
    ///
    
    ## Pydantic 모델과 쿼리 매개변수 { #query-parameters-with-a-pydantic-model }
    
    필요한 **쿼리 매개변수**를 **Pydantic 모델** 안에 선언한 다음, 매개변수를 `Query`로 선언합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 00:15:26 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/query-param-models.md

    # クエリパラメータモデル { #query-parameter-models }
    
    もし関連する**複数のクエリパラメータ**から成るグループがあるなら、それらを宣言するために、**Pydanticモデル**を作成できます。
    
    こうすることで、**複数の場所**で**そのモデルを再利用**でき、バリデーションやメタデータを、すべてのパラメータに対して一度に宣言できます。😎
    
    /// note | 備考
    
    この機能は、FastAPIのバージョン `0.115.0` からサポートされています。🤓
    
    ///
    
    ## Pydanticモデルを使ったクエリパラメータ { #query-parameters-with-a-pydantic-model }
    
    必要な**クエリパラメータ**を**Pydanticモデル**で宣言し、さらに、そのパラメータを `Query` として宣言しましょう:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. tests/scopes_test.go

    		t.Errorf("select max(id)")
    	}
    }
    
    func TestComplexScopes(t *testing.T) {
    	tests := []struct {
    		name     string
    		queryFn  func(tx *gorm.DB) *gorm.DB
    		expected string
    	}{
    		{
    			name: "depth_1",
    			queryFn: func(tx *gorm.DB) *gorm.DB {
    				return tx.Scopes(
    					func(d *gorm.DB) *gorm.DB { return d.Where("a = 1") },
    					func(d *gorm.DB) *gorm.DB {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/query-params-str-validations.md

    q: str | None = Query(default=None, max_length=50)
    ```
    
    Bu, veriyi doğrular, veri geçerli değilse net bir hata gösterir ve parametreyi OpenAPI şemasındaki *path operation* içinde dokümante eder.
    
    ### Varsayılan değer olarak `Query` veya `Annotated` içinde `Query` { #query-as-the-default-value-or-in-annotated }
    
    `Annotated` içinde `Query` kullanırken `Query` için `default` parametresini kullanamayacağınızı unutmayın.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17.3K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str | None = Query(default=None, max_length=50)
    ```
    
    Esto validará los datos, mostrará un error claro cuando los datos no sean válidos, y documentará el parámetro en el esquema del *path operation* de OpenAPI.
    
    ### `Query` como valor por defecto o en `Annotated` { #query-as-the-default-value-or-in-annotated }
    
    Ten en cuenta que cuando uses `Query` dentro de `Annotated` no puedes usar el parámetro `default` para `Query`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/query-params-str-validations.md

    q: str | None = None
    ```
    
    但使用 `Query` 的版本会显式把它声明为一个查询参数。
    
    然后,我们可以向 `Query` 传入更多参数。本例中是适用于字符串的 `max_length` 参数:
    
    ```Python
    q: str | None = Query(default=None, max_length=50)
    ```
    
    这会校验数据、在数据无效时展示清晰的错误,并在 OpenAPI 模式的*路径操作*中记录该参数。
    
    ### 在默认值中使用 `Query` 或在 `Annotated` 中使用 `Query` { #query-as-the-default-value-or-in-annotated }
    
    注意,当你在 `Annotated` 中使用 `Query` 时,不能再给 `Query` 传 `default` 参数。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

            return set;
          };
        }
      }
    
      abstract static class QueryOp<T> {
        static <T> QueryOp<T> create(
            String name, BiConsumer<T, Object> queryLambda, IntToDoubleFunction asymptotic) {
          return new QueryOp<T>() {
            @Override
            void apply(T collection, Object query) {
              queryLambda.accept(collection, query);
            }
    
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         * Constructs a Trans2QueryFSInformationResponse with the specified configuration and information level.
         *
         * @param config the SMB configuration
         * @param informationLevel the file system information level being queried
         */
        public Trans2QueryFSInformationResponse(final Configuration config, final int informationLevel) {
            super(config);
            this.informationLevel = informationLevel;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. finisher_api.go

    //	// user -> User{Name: "jinzhu", Age: 20, Email: "******@****.***"}
    func (db *DB) FirstOrInit(dest interface{}, conds ...interface{}) (tx *DB) {
    	queryTx := db.Limit(1).Order(clause.OrderByColumn{
    		Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    	})
    
    	if tx = queryTx.Find(dest, conds...); tx.RowsAffected == 0 {
    		if c, ok := tx.Statement.Clauses["WHERE"]; ok {
    			if where, ok := c.Expression.(clause.Where); ok {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
Back to Top