Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Nice2 (0.03 sec)

  1. tests/hooks_test.go

    	}
    
    	product3 := Product2{Name: "Nice2", Price: 600, Owner: "admin"}
    	if err := DB.Create(&product3).Error; err != nil {
    		t.Fatalf("Failed to create product, got error: %v", err)
    	}
    
    	var result3 Product2
    	if err := DB.First(&result3, "name = ?", "Nice2").Error; err != nil {
    		t.Fatalf("Failed to query product, got error: %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top