- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for association (0.06 sec)
-
tests/multi_primary_keys_test.go
var tags3 []Tag DB.Model(&blog).Association("Tags").Find(&tags3) if !compareTags(tags3, []string{"tag6"}) { t.Fatalf("Should find 1 tags after Delete") } if DB.Model(&blog).Association("Tags").Count() != 1 { t.Fatalf("Blog should has three tags after Delete") } DB.Model(&blog).Association("Tags").Delete(tag3) var tags4 []Tag
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 13.1K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/lifecycle.mdo
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 5.6K 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 Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 07 14:32:16 UTC 2025 - 132.7K bytes - Viewed (0) -
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 Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 33.8K 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 Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 1.5K bytes - Viewed (0) -
generics.go
db.AddError(fmt.Errorf("relation %s not found", association)) return nil } } } else { db.AddError(fmt.Errorf("relation %s not found", association)) return nil } } if q.limitPerRecord > 0 { if relation.JoinTable != nil { tx.AddError(fmt.Errorf("many2many relation %s don't support LimitPerRecord", association)) return tx }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.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 Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 9.5K bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
<name>toolchains</name> <version>1.0.0+</version> <description>The toolchain instance definition.</description> <association xml.itemsStyle="flat"> <type>ToolchainModel</type> <multiplicity>*</multiplicity> </association> </field> </fields> <codeSegments> <codeSegment> <version>1.0.0/1.1.0</version> <code>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 9.5K bytes - Viewed (0) -
api/maven-api-cli/src/main/mdo/core-extensions.mdo
<description>A set of build extensions to use from this project.</description> <version>1.0.0+</version> <association xml.itemsStyle="flat"> <type>CoreExtension</type> <multiplicity>*</multiplicity> </association> </field> </fields> </class> <class xml.tagName="extension"> <name>CoreExtension</name>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/generics_test.go
userIDs = append(userIDs, user.ID) } users2, err := db.Joins(clause.LeftJoin.Association("Manager"), nil). Joins(clause.LeftJoin.Association("Manager.Company"), nil). Joins(clause.LeftJoin.Association("Manager.NamedPet.Toy"), nil). Joins(clause.LeftJoin.Association("NamedPet.Toy"), nil). Joins(clause.LeftJoin.Association("NamedPet").As("t"), nil). Where(map[string]any{"id": userIDs}).Find(ctx) if err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0)