- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UPSERT (0.05 sec)
-
tests/upsert_test.go
} } func TestUpsertSlice(t *testing.T) { langs := []Language{ {Code: "upsert-slice1", Name: "Upsert-slice1"}, {Code: "upsert-slice2", Name: "Upsert-slice2"}, {Code: "upsert-slice3", Name: "Upsert-slice3"}, } DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs) var langs2 []Language if err := DB.Find(&langs2, "code LIKE ?", "upsert-slice%").Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
return new UpdateRequest(fessConfig.getIndexDocumentUpdateIndex(), id).script(script) .upsert(upsertMap); } return null; }).filter(req -> req != null).toArray(n -> new UpdateRequest[n]);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 02:07:37 UTC 2024 - 21.7K bytes - Viewed (0)