Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for update_from_sub_query (0.22 sec)

  1. tests/update_test.go

    	}
    
    	if result.IgnoredField != 0 {
    		t.Errorf("element's ignored field should not be updated")
    	}
    }
    
    func TestUpdateFromSubQuery(t *testing.T) {
    	user := *GetUser("update_from_sub_query", Config{Company: true})
    	if err := DB.Create(&user).Error; err != nil {
    		t.Errorf("failed to create user, got error: %v", err)
    	}
    
    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