- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for association (0.04 sec)
-
api/maven-api-settings/src/main/mdo/settings.mdo
<type>Repository</type> <multiplicity>*</multiplicity> </association> </field> <field> <name>pluginRepositories</name> <version>1.3.0+</version> <description> The lists of the remote repositories for discovering plugins. </description> <association> <type>Repository</type>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 33.8K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
// Clear DB.Model(&users).Association("Company").Clear() AssertAssociationCount(t, users, "Company", 0, "After Clear") DB.Model(&users).Association("Manager").Clear() AssertAssociationCount(t, users, "Manager", 0, "After Clear") // shared company company := Company{Name: "shared"} if err := DB.Model(&users[0]).Association("Company").Append(&company); err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
clause/joins.go
RightJoin JoinType = "RIGHT" ) type JoinTarget struct { Type JoinType Association string Subquery Expression Table string } func Has(name string) JoinTarget { return JoinTarget{Type: InnerJoin, Association: name} } func (jt JoinType) Association(name string) JoinTarget { return JoinTarget{Type: jt, Association: name} }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 1.5K bytes - Viewed (0) -
tests/delete_test.go
} if err := DB.Select(clause.Associations, "Pets.Toy").Delete(&user).Error; err != nil { t.Fatalf("failed to delete user, got error %v", err) } for key, value := range map[string]int64{"Account": 1, "Pets": 2, "Toys": 4, "Company": 1, "Manager": 1, "Team": 1, "Languages": 0, "Friends": 0} { if count := DB.Unscoped().Model(&user).Association(key).Count(); count != value {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 9.5K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
</field> <field> <name>versioning</name> <version>1.0.0+</version> <association> <type>Versioning</type> </association> <description>Versioning information when this directory represents "groupId/artifactId" or "groupId/artifactId/version".</description> </field> <field>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<association> <type>Activation</type> </association> </field> <field> <name>properties</name> <description>Extended configuration specific to this profile goes here.</description> <type>Properties</type> <association xml.mapStyle="inline"> <type>String</type>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 22 11:03:29 UTC 2025 - 13.8K bytes - Viewed (0) -
tests/generics_test.go
assoc := clause.Association{ Association: "Orders", Type: op.Type, } if assoc.Type != op.Type { t.Errorf("Association type should be %s, got %v", op.TypeName, assoc.Type) } } } func TestGenericsAssociationSlice(t *testing.T) { // Test that a slice of Association can be used associations := []clause.Association{Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/lifecycle.mdo
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 5.6K bytes - Viewed (0) -
tests/associations_test.go
var emptyUser User var err error // belongs to err = DB.Model(&emptyUser).Association("Company").Delete(&user1.Company) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has many err = DB.Model(&emptyUser).Association("Pets").Delete(&user1.Pets) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has one err = DB.Model(&emptyUser).Association("Account").Delete(&user1.Account) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 04:33:27 UTC 2025 - 13.3K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
</description> <association> <type>License</type> <multiplicity>*</multiplicity> </association> </field> <field xdoc.separator="blank"> <name>developers</name> <version>3.0.0+</version> <description>Describes the committers of a project.</description> <association> <type>Developer</type>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 26 03:07:35 UTC 2025 - 133.3K bytes - Viewed (0)