- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 204 for userIds (0.08 sec)
-
tests/scopes_test.go
if len(users2) != 1 { t.Errorf("Should found one user's name is 2, but got %v", len(users2)) } DB.Scopes(NameIn([]string{users[0].Name, users[2].Name})).Find(&users3) if len(users3) != 2 { t.Errorf("Should found two users's name in 1, 3, but got %v", len(users3)) } db := DB.Scopes(func(tx *gorm.DB) *gorm.DB { return tx.Table("custom_table") }).Session(&gorm.Session{}) db.AutoMigrate(&User{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
tests/delete_test.go
if count := DB.Unscoped().Model(&users).Association(key).Count(); count != value { t.Errorf("user's %v expects: %v, got %v", key, value, count) } } for key, value := range map[string]int64{"Account": 0, "Pets": 0, "Toys": 0, "Company": 4, "Manager": 4, "Team": 0, "Languages": 0, "Friends": 0} { if count := DB.Model(&users).Association(key).Count(); count != value { t.Errorf("user's %v expects: %v, got %v", key, value, count)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 9.5K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
if err != nil { return err } c.mustNotListObjects(ctx, uClient, bucket) return nil } }(i), i) } if errs := g.Wait(); len(errs) > 0 { c.Fatalf("unable to remove users: %v", errs) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4K bytes - Viewed (0) -
tests/helper_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
} if err := DB.Model(&users[1]).Association("Company").Append(&company); err != nil { t.Errorf("Error happened when append company to user, got %v", err) } if users[0].CompanyID == nil || users[1].CompanyID == nil || *users[0].CompanyID != *users[1].CompanyID { t.Errorf("user's company id should exists and equal, but its: %v, %v", users[0].CompanyID, users[1].CompanyID) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
cmd/user-provider-utils.go
if !credentials.IsServiceAccount() && !credentials.IsTemp() { return madmin.BuiltinProvider // regular users are always internal } claims := credentials.Claims if _, ok := claims[ldapUser]; ok { return madmin.LDAPProvider // ldap users } if _, ok := claims[subClaim]; ok { providerPrefix, _, found := strings.Cut(credentials.ParentUser, getKeySeparator()) if found {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/iam/access-management-plugin.md
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Dec 13 22:28:48 UTC 2022 - 4.4K bytes - Viewed (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java
* up the build process by avoiding unnecessary downloads.</p> * * <p>By default, the local repository is located in the {@code .m2/repository} * directory within the user's home directory ({@code ~/.m2/repository} on * Unix-like systems or {@code C:\Users\YourName\.m2\repository} on Windows). * The location of the local repository can be customized in the * {@code settings.xml} file.</p> * * @since 4.0.0 * @see Repository
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/SsoMessageException.java
} /** * Gets the message code for internationalized error display. * * The message code can be used by the presentation layer to retrieve * localized error messages appropriate for the user's language settings. * * @return The message code for error message localization */ public VaMessenger<FessMessages> getMessageCode() { return messageCode; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/UserService.java
cb.query().addOrderBy_Name_Asc(); // search } /** * Retrieves a list of all available users in the system. * Returns up to the maximum configured number of users. * * @return a list of all available users */ public List<User> getAvailableUserList() { return userBhv.selectList(cb -> { cb.query().matchAll();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.7K bytes - Viewed (0)