- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ProfileID (0.09 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
} } boolean optional = false; if (!profileId.isEmpty() && profileId.charAt(0) == '?') { optional = true; profileId = profileId.substring(1); } profileActivation.addProfileActivation(profileId, active, optional);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
tests/associations_test.go
} else if profile.Refer != member.ProfileID { t.Fatalf("member id is not equal: expects: %v, got: %v", profile.Refer, member.ProfileID) } DB.Model(&profile).Update("Refer", 100) var member2 Member if err := DB.First(&member2, "id = ?", member.ID).Error; err != nil { t.Fatalf("failed to find member, got error: %v", err) } else if member2.ProfileID != 100 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
schema/relationship_test.go
} type User struct { gorm.Model Profile Profile `gorm:"ForeignKey:ProfileID;References:Refer"` ProfileID int } checkStructRelation(t, &User{}, Relation{ Name: "Profile", Type: schema.BelongsTo, Schema: "User", FieldSchema: "Profile", References: []Reference{{"Refer", "Profile", "ProfileID", "User", "", false}}, }) } func TestBelongsToWithOnlyReferences(t *testing.T) { type Profile struct {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0)