Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for select_update_map (0.12 sec)

  1. tests/update_test.go

    	}
    
    	AssertObjEqual(t, result, User{Name: "update_with_select"}, "Name", "Age")
    }
    
    func TestSelectWithUpdateWithMap(t *testing.T) {
    	user := *GetUser("select_update_map", Config{Account: true, Pets: 3, Toys: 3, Company: true, Manager: true, Team: 3, Languages: 3, Friends: 4})
    	DB.Create(&user)
    
    	var result User
    	DB.First(&result, user.ID)
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
Back to top