Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Shreve (0.16 sec)

  1. tests/multi_primary_keys_test.go

    	if !compareTags(blog.SharedTags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog).Association("SharedTags").Count() != 3 {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog2).Association("SharedTags").Count() != 3 {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	var tags []Tag
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 12.8K bytes
    - Viewed (0)
Back to top