- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for association (0.23 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 08 13:46:42 UTC 2024 - 33.5K 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K 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 Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K 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 Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/paramdoc.mdo
<name>expressions</name> <description>The list of plugin parameter expressions described by this document.</description> <association> <type>Expression</type> <multiplicity>*</multiplicity> </association> </field> </fields> <codeSegments> <codeSegment> <version>1.0.0</version>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K 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> </class> <class> <name>ToolchainModel</name> <superClass>TrackableBase</superClass>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 9.7K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
<description></description> <association> <type>Parameter</type> <multiplicity>*</multiplicity> </association> </field> <field xdoc.separator="blank"> <name>resolutions</name> <version>2.0.0+</version> <description></description> <association> <type>Resolution</type>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Aug 16 14:16:22 UTC 2024 - 24.9K bytes - Viewed (0) -
tests/update_belongs_to_test.go
if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Company = Company{Name: "company-belongs-to-association"} user.Manager = &User{Name: "manager-belongs-to-association"} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 1.6K bytes - Viewed (0) -
callbacks/associations.go
} if len(selects) > 0 { tx = tx.Select(selects) } else if restricted && len(omits) == 0 { tx = tx.Omit(clause.Associations) } if len(omits) > 0 { tx = tx.Omit(omits...) } return db.AddError(tx.Create(values).Error) } // check association values has been saved // if values kind is Struct, check it has been saved // if values kind is Slice/Array, check all items have been saved
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Apr 11 03:06:13 UTC 2023 - 14.3K bytes - Viewed (0)