Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,504 for USER (0.02 sec)

  1. docs_src/generate_clients/tutorial003_py39.py

            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 914 bytes
    - Viewed (0)
  2. tests/update_has_many_test.go

    		}
    
    		var user2 User
    		DB.Preload("Toys").Find(&user2, "id = ?", user.ID)
    		CheckUser(t, user2, user)
    
    		for idx := range user.Toys {
    			user.Toys[idx].Name += "new"
    		}
    
    		if err := DB.Save(&user).Error; err != nil {
    			t.Fatalf("errors happened when update: %v", err)
    		}
    
    		var user3 User
    		DB.Preload("Toys").Find(&user3, "id = ?", user.ID)
    		CheckUser(t, user2, user3)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. tests/query_test.go

    		t.Errorf("invalid query SQL, got %v", result.Statement.SQL.String())
    	}
    }
    
    func TestQueryWithTableAndConditionsAndAllFields(t *testing.T) {
    	result := DB.Session(&gorm.Session{DryRun: true, QueryFields: true}).Table("user").Find(&User{}, User{Name: "jinzhu"})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. tests/gorm_test.go

    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    		type user struct {
    			gorm.Model
    			Name string `gorm:"default:null"`
    		}
    		u1 := user{}
    
    		if results := DB.Create(&u1); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. 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)
  6. docs/en/docs/tutorial/index.md

    ///
    
    ## Advanced User Guide
    
    There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**.
    
    The **Advanced User Guide** builds on this one, uses the same concepts, and teaches you some extra features.
    
    But you should first read the **Tutorial - User Guide** (what you are reading right now).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 21:52:09 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/UserDbm.java

            setupEpg(_epgMap, et -> ((User) et).getState(), (et, vl) -> ((User) et).setState(DfTypeUtil.toString(vl)), "state");
            setupEpg(_epgMap, et -> ((User) et).getStreet(), (et, vl) -> ((User) et).setStreet(DfTypeUtil.toString(vl)), "street");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

     */
    package org.codelibs.fess.es.user.bsbhv;
    
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.user.allcommon.EsAbstractBehavior;
    import org.codelibs.fess.es.user.allcommon.EsAbstractEntity.RequestOptionCall;
    import org.codelibs.fess.es.user.bsentity.dbmeta.UserDbm;
    import org.codelibs.fess.es.user.cbean.UserCB;
    import org.codelibs.fess.es.user.exentity.User;
    import org.dbflute.Entity;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsGroupCB.java

     */
    package org.codelibs.fess.es.user.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.user.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.es.user.bsentity.dbmeta.GroupDbm;
    import org.codelibs.fess.es.user.cbean.GroupCB;
    import org.codelibs.fess.es.user.cbean.ca.GroupCA;
    import org.codelibs.fess.es.user.cbean.ca.bs.BsGroupCA;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top