Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for friends (0.19 sec)

  1. tests/preload_test.go

    	}
    	AssertEqual(t, find2, value2)
    
    	var finds []Value
    	err = DB.Joins("Nested.Join").Joins("Nested").Preload("Nested.Preloads").Find(&finds).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, len(finds), 2)
    	AssertEqual(t, finds[0], value1)
    	AssertEqual(t, finds[1], value2)
    }
    
    func TestMergeNestedPreloadWithNestedJoin(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  2. docs/en/docs/help-fastapi.md

    And there are several ways to get help too.
    
    ## Subscribe to the newsletter
    
    You can subscribe to the (infrequent) [**FastAPI and friends** newsletter](newsletter.md){.internal-link target=_blank} to stay updated about:
    
    * News about FastAPI and friends ๐Ÿš€
    * Guides ๐Ÿ“
    * Features โœจ
    * Breaking changes ๐Ÿšจ
    * Tips and tricks โœ…
    
    ## Follow FastAPI on Twitter
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. tests/query_test.go

    	}
    }
    
    func TestQueryWithAssociation(t *testing.T) {
    	user := *GetUser("query_with_association", Config{Account: true, Pets: 2, Toys: 1, Company: true, Manager: true, Team: 2, Languages: 1, Friends: 3})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create user: %v", err)
    	}
    
    	user.CreatedAt = time.Time{}
    	user.UpdatedAt = time.Time{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/body-fields.md

    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ Annotated๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ"
    
        !!! tip "ํŒ"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body-fields.md

    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 05:35:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    ### Changes
    
    * There are **new parameter** fields supported by Pydantic `Field()` for:
    
        * `Path()`
        * `Query()`
        * `Header()`
        * `Cookie()`
        * `Body()`
        * `Form()`
        * `File()`
    
    * The new parameter fields are:
    
        * `default_factory`
        * `alias_priority`
        * `validation_alias`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  7. fastapi/_compat.py

            )[0]
    
        def get_compat_model_name_map(fields: List[ModelField]) -> ModelNameMap:
            models = get_flat_models_from_fields(fields, known_models=set())
            return get_model_name_map(models)  # type: ignore[no-any-return]
    
        def get_definitions(
            *,
            fields: List[ModelField],
            schema_generator: GenerateJsonSchema,
            model_name_map: ModelNameMap,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

          </codeSegments>
        </class>
        <class locationTracker="locations">
          <name>InputLocation</name>
          <version>4.0.0/4.0.99</version>
          <fields>
            <!-- line, column and source fields are auto-generated by Modello -->
          </fields>
          <codeSegments>
            <codeSegment>
              <version>4.0.0+</version>
              <code>
                <![CDATA[
    
        @Override
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  9. scan.go

    						fields[idx] = field
    						if count, ok := matchedFieldCount[column]; ok {
    							// handle duplicate fields
    							for _, selectField := range sch.Fields {
    								if selectField.DBName == column && selectField.Readable {
    									if count == 0 {
    										matchedFieldCount[column]++
    										fields[idx] = selectField
    										break
    									}
    									count--
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

    /**
     * Assists in the handling of model problems.
     *
     */
    public class ModelProblemUtils {
    
        /**
         * Creates a user-friendly source hint for the specified model.
         *
         * @param model The model to create a source hint for, may be {@code null}.
         * @return The user-friendly source hint, never {@code null}.
         */
        static String toSourceHint(Model model) {
            if (model == null) {
                return "";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top