Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for omit_update_map (0.28 sec)

  1. tests/update_test.go

    	})
    
    	AssertObjEqual(t, result2, result, "Age", "Pets", "Company", "CompanyID", "Team", "Friends")
    }
    
    func TestOmitWithUpdateWithMap(t *testing.T) {
    	user := *GetUser("omit_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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
Back to top