- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TestCompositePrimaryKeyWithAutoIncrement (0.25 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
schema/schema_test.go
checkSchemaField(t, cropSchema, &f, func(f *schema.Field) { if f.Name != "Ignored" { f.Creatable = true f.Updatable = true f.Readable = true } }) } } func TestCompositePrimaryKeyWithAutoIncrement(t *testing.T) { type Product struct { ProductID uint `gorm:"primaryKey;autoIncrement"` LanguageCode uint `gorm:"primaryKey"` Code string Name string }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0) -
tests/multi_primary_keys_test.go
smf-h <******@****.***> 1774092458 +0800
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 13.3K bytes - Click Count (0)