- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for product_id (0.07 sec)
-
schema/schema_test.go
if err != nil { t.Fatalf("failed to parse product struct with composite primary key, got error %v", err) } prioritizedPrimaryField := schema.Field{ Name: "ProductID", DBName: "product_id", BindNames: []string{"ProductID"}, DataType: schema.Uint, PrimaryKey: true, Size: 64, HasDefaultValue: true, AutoIncrement: true, TagSettings: map[string]string{"PRIMARYKEY": "PRIMARYKEY", "AUTOINCREMENT": "AUTOINCREMENT"}, }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Aug 28 02:57:17 UTC 2025 - 13.3K bytes - Viewed (0) -
tests/associations_test.go
} if DB.First(&Coupon{}, "id = ?", coupon.ID).Error != nil { t.Errorf("Failed to query saved coupon") } if DB.First(&CouponProduct{}, "coupon_id = ? AND product_id = ?", coupon.ID, "full-save-association-product1").Error != nil { t.Errorf("Failed to query saved association") } orders := []Order{{Num: "order1", Coupon: coupon}, {Num: "order2", Coupon: coupon}}
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 04:33:27 UTC 2025 - 13.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/ProjectBuildLogAppender.java
private static final String KEY_PROJECT_ID = "maven.project.id"; private static final ThreadLocal<String> PROJECT_ID = new InheritableThreadLocal<>(); private static final ThreadLocal<String> FORKING_PROJECT_ID = new InheritableThreadLocal<>(); public static String getProjectId() { return PROJECT_ID.get(); } public static void setProjectId(String projectId) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/hooks_test.go
type Product4 struct { gorm.Model Name string Code string Price int64 Owner string Item ProductItem } type ProductItem struct { gorm.Model Code string Product4ID uint AfterFindCallTimes int } func (pi ProductItem) BeforeCreate(*gorm.DB) error { if pi.Code == "invalid" { return errors.New("invalid item") } return nil }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
utils/tests/models.go
AmountOff uint32 `gorm:"column:amount_off"` PercentOff float32 `gorm:"column:percent_off"` } type CouponProduct struct { CouponId int `gorm:"primarykey;size:255"` ProductId string `gorm:"primarykey;size:255"` Desc string } type Order struct { gorm.Model Num string Coupon *Coupon CouponID string } type Parent struct { gorm.ModelRegistered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Dec 15 08:36:08 UTC 2023 - 2.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java
private static final Logger logger = LogManager.getLogger(GcsClientTest.class); private static final String IMAGE_NAME = "fsouza/fake-gcs-server:latest"; private static final String PROJECT_ID = "test-project"; public GcsClient gcsClient; private GenericContainer<?> gcsServer; @Override protected void setUp() throws Exception { super.setUp();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 19.6K bytes - Viewed (0) -
tests/create_test.go
t.Fatalf("first or create rows affect err:%v rows:%d", res.Error, res.RowsAffected) } } func TestCreateWithAutoIncrementCompositeKey(t *testing.T) { type CompositeKeyProduct struct { ProductID int `gorm:"primaryKey;autoIncrement:true;"` // primary key LanguageCode int `gorm:"primaryKey;"` // primary key Code string Name string }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
docs/fr/docs/async.md
/// --- Imaginez que vous êtes l'ordinateur / le programme 🤖 dans cette histoire. Pendant que vous faites la queue, vous être simplement inactif 😴, attendant votre tour, ne faisant rien de "productif". Mais la queue est rapide car le serveur 💁 prend seulement les commandes (et ne les prépare pas), donc tout va bien.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 25.4K bytes - Viewed (0)