- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 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-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) -
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) -
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) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
op.setRefreshPolicy(Constants.TRUE); }); } /** * Deletes a group from both LDAP and the database, and removes the group * association from all users that belong to this group. * * @param group the group entity to delete */ public void delete(final Group group) { ComponentUtil.getLdapManager().delete(group);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
tests/upsert_test.go
if err := DB.Where("name = ?", "first_or_create_pet1").First(&Pet{}).Error; err != nil { t.Errorf("has many association should be saved") } if err := DB.Where("number = ?", "1231231231").First(&Account{}).Error; err != nil { t.Errorf("belongs to association should be saved") } } func TestUpdateWithMissWhere(t *testing.T) { type User struct { ID uint `gorm:"column:id;<-:create"`
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
* This class provides functionality to load, cache, and retrieve related content * based on search queries and virtual host configurations. It supports both exact * term matching and regex pattern matching for flexible content association. */ public class RelatedContentHelper extends AbstractConfigHelper { /** * Default constructor for RelatedContentHelper. * The constructor does not perform any initialization logic as the actual
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
docs/sts/ldap.md
``` ```sh mc idp ldap policy attach myminio mypolicy ----group='cn=projectx,ou=groups,ou=hwengg,dc=min,dc=io' ``` To remove a policy association, use the similar `detach` command: ```sh mc idp ldap policy detach myminio mypolicy --user='uid=james,cn=accounts,dc=myldapserver,dc=com' ``` ```sh
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 18.9K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Add handle GUID generation and tracking - [ ] Implement handle state serialization - [ ] Create reconnection logic with handle replay - [ ] Add timeout management for durable handles - [ ] Implement handle lease association - [ ] Add persistent handle capability negotiation - [ ] Create handle cache for reconnection #### 2.3 Integration Points - Extend `SmbFile` with persistent handle support
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0)