Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for font (0.18 sec)

  1. tests/hooks_test.go

    	}
    
    	if DB.Where("code = ?", "dont_update").First(&Product{}).Error == nil {
    		t.Fatalf("Record Should not be updated due to errors happened in before update callback")
    	}
    
    	p2.Code = "dont_save"
    	if DB.Save(&p2).Error == nil {
    		t.Fatalf("An error from before save callbacks happened when update with invalid value")
    	}
    
    	p3 := Product{Code: "dont_delete", Price: 100}
    	DB.Save(&p3)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  2. schema/field_test.go

    		{Name: "INT", DBName: "fint", BindNames: []string{"INT"}, DataType: schema.Int, Creatable: true, Updatable: true, Readable: true, Size: 64, Tag: `gorm:"column:fint"`},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
Back to top