- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 491 for quiser (0.05 sec)
-
tests/upsert_test.go
t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } } user := *GetUser("upsert_on_conflict", Config{}) user.Age = 20 if err := DB.Create(&user).Error; err != nil { t.Errorf("failed to create user, got error %v", err) } var user2 User DB.First(&user2, user.ID) user2.Age = 30 time.Sleep(time.Second)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0) -
tests/sql_builder_test.go
return tx.Model(&User{}).Unscoped().Where(&User{Name: "bar", Age: 12}).Limit(10).Offset(5).Order("name ASC").Last(&User{}) }) assertEqualSQL(t, `SELECT * FROM "users" WHERE "users"."name" = 'bar' AND "users"."age" = 12 ORDER BY name ASC,"users"."id" DESC LIMIT 1 OFFSET 5`, sql) // create user := &User{Name: "foo", Age: 20} user.CreatedAt = date user.UpdatedAt = date
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java
public static Class<? extends FessAdminAction> getAdminActionClass(final FessUserBean user) { if (user.hasRoles(getActionRoles(AdminDashboardAction.ROLE))) { return AdminDashboardAction.class; } if (user.hasRoles(getActionRoles(AdminWizardAction.ROLE))) { return AdminWizardAction.class; } if (user.hasRoles(getActionRoles(AdminGeneralAction.ROLE))) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.7K bytes - Viewed (0) -
docs_src/security/tutorial004.py
raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception return user async def get_current_active_user(current_user: User = Depends(get_current_user)): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.1K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py310.py
raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception return user async def get_current_active_user( current_user: Annotated[User, Depends(get_current_user)], ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.1K bytes - Viewed (0) -
helm/minio/templates/_helper_create_user.txt
rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 12 23:43:32 UTC 2023 - 3.2K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
. "gorm.io/gorm/utils/tests" ) func TestBelongsToAssociation(t *testing.T) { user := *GetUser("belongs-to", Config{Company: true, Manager: true}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID) pointerOfUser := &user2
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
docs/multi-user/admin/README.md
``` Create a new admin user `admin1` on MinIO use `mc admin user`. ``` mc admin user add myminio admin1 admin123 ``` Once the user is successfully created you can now apply the `userManage` policy for this user. ``` mc admin policy attach myminio userManager --user=admin1 ``` This admin user will then be allowed to perform create/delete user operations via `mc admin user`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 21 06:38:06 UTC 2023 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-")); valueMap.put("path", path); valueMap.put("execute", execute); log(valueMap); } public void permissionChanged(final OptionalThing<FessUserBean> user) { final Map<String, String> valueMap = new LinkedHashMap<>(); valueMap.put("action", Action.UPDATE_PERMISSION.name());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
tests/test_dependency_security_overrides.py
response = client.get("/user") assert response.json() == { "user": "john", "scopes": ["foo", "bar"], "data": [3, 4, 5], } app.dependency_overrides = {} def test_override_security(): app.dependency_overrides[get_user] = get_user_override response = client.get("/user") assert response.json() == { "user": "alice", "scopes": ["foo", "bar"],
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 14 15:54:46 UTC 2020 - 1.4K bytes - Viewed (0)