- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCustomColumnAndIgnoredFieldClash (0.14 sec)
-
tests/customize_field_test.go
} cc.Name = "bar" DB.Save(&cc) var cc2 CustomizeColumn DB.First(&cc2, "mapped_id = ?", 666) if cc2.Name != "bar" { t.Errorf("Failed to query CustomizeColumn") } } func TestCustomColumnAndIgnoredFieldClash(t *testing.T) { // Make sure an ignored field does not interfere with another field's custom // column name that matches the ignored field. type CustomColumnAndIgnoredFieldClash struct {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0)