Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for relationship (0.77 sec)

  1. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. schema/schema_helper_test.go

    				if r, ok := rs.Relations[n]; !ok {
    					t.Errorf("failed to find relation by name %s", n)
    				} else {
    					checkSchemaRelation(t, &schema.Schema{
    						Relationships: schema.Relationships{
    							Relations: map[string]*schema.Relationship{n: rel},
    						},
    					}, r)
    				}
    			}
    			checkEmbeddedRelations(t, relations.EmbeddedRelations, rs.EmbeddedRelations)
    		})
    	}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. schema/utils.go

    	}
    	return reflect.StructTag(fmt.Sprintf(`gorm:"%s;%s"`, value, t))
    }
    
    // GetRelationsValues get relations's values from a reflect value
    func GetRelationsValues(ctx context.Context, reflectValue reflect.Value, rels []*Relationship) (reflectResults reflect.Value) {
    	for _, rel := range rels {
    		reflectResults = reflect.MakeSlice(reflect.SliceOf(reflect.PtrTo(rel.FieldSchema.ModelType)), 0, 1)
    
    		appendToResults := func(value reflect.Value) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:35:14 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. schema/schema.go

    		ModelType:        modelType,
    		Table:            tableName,
    		FieldsByName:     map[string]*Field{},
    		FieldsByBindName: map[string]*Field{},
    		FieldsByDBName:   map[string]*Field{},
    		Relationships:    Relationships{Relations: map[string]*Relationship{}},
    		cacheStore:       cacheStore,
    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

         */
        // MAVENAPI FIXME: the DAG used is NOT only used to represent the dependency relation,
        // but also for <parent>, <build><plugin>, <reports>. We need multiple DAG's
        // since a DAG can only handle 1 type of relationship properly.
        // Use case:  This is detected as a cycle:
        // org.apache.maven:maven-plugin-api                -(PARENT)->
        // org.apache.maven:maven                           -(inherited REPORTING)->
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    ReflectiveTypeFinder - Class in org.hamcrest.internal ReflectiveTypeFinder(String, int, int) - Constructor for class org.hamcrest.internal.ReflectiveTypeFinder relationship() - Method in class org.hamcrest.core.StringContains relationship() - Method in class org.hamcrest.core.StringEndsWith relationship() - Method in class org.hamcrest.core.StringStartsWith relationship() - Method in class org.hamcrest.core.SubstringMatcher remove() - Method in class org.hamcrest.internal.ArrayIterator remove() - Method in class...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  7. migrator/migrator.go

    		return &uni, stmt.Table
    	}
    
    	getTable := func(rel *schema.Relationship) string {
    		switch rel.Type {
    		case schema.HasOne, schema.HasMany:
    			return rel.FieldSchema.Table
    		case schema.Many2Many:
    			return rel.JoinTable.Table
    		}
    		return stmt.Table
    	}
    
    	for _, rel := range stmt.Schema.Relationships.Relations {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  8. callbacks/associations.go

    			onConflict.DoUpdates = clause.AssignmentColumns(defaultUpdatingColumns)
    		}
    	} else {
    		onConflict.DoNothing = true
    	}
    
    	return
    }
    
    func saveAssociations(db *gorm.DB, rel *schema.Relationship, rValues reflect.Value, selectColumns map[string]bool, restricted bool, defaultUpdatingColumns []string) error {
    	// stop save association loop
    	if checkAssociationsSaved(db, rValues) {
    		return nil
    	}
    
    	var (
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    mismatchDescription.appendText("was \"").appendText(item).appendText("\""); } @Override public void describeTo(Description description) { description.appendText("a string ") .appendText(relationship()) .appendText(" ") .appendValue(substring); } protected abstract boolean evalSubstringOf(String string); protected abstract String relationship(); } org/hamcrest/core/package.html Fundamental matchers of objects and values, and composite matchers. org/hamcrest/internal/ArrayIterator.java org/hamcrest/internal/ArrayIterator.java...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Comparators.java

     * comparator utilities, see either {@code Comparator} itself (for Java 8+), or {@code
     * com.google.common.collect.Ordering} (otherwise).
     *
     * <h3>Relationship to {@code Ordering}</h3>
     *
     * <p>In light of the significant enhancements to {@code Comparator} in Java 8, the overwhelming
     * majority of usages of {@code Ordering} can be written using only built-in JDK APIs. This class is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top