- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,983 for Languages (0.27 sec)
-
tests/associations_many2many_test.go
} languages2 := []Language{} languages3 := []Language{ {Code: "language-many2many-append-3-1", Name: "language-many2many-append-3-1"}, {Code: "language-many2many-append-3-2", Name: "language-many2many-append-3-2"}, } DB.Create(&languages1) DB.Create(&languages3) DB.Model(&users).Association("Languages").Append(&languages1, &languages2, &languages3) AssertAssociationCount(t, users, "Languages", 9, "After Append")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
tests/update_many2many_test.go
} user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}} for _, lang := range user.Languages { DB.Create(&lang) } user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.3K bytes - Viewed (0) -
tests/helper_test.go
} }) t.Run("Languages", func(t *testing.T) { if len(user.Languages) != len(expect.Languages) { t.Fatalf("Languages should equal, expect: %v, got %v", len(expect.Languages), len(user.Languages)) } sort.Slice(user.Languages, func(i, j int) bool { return strings.Compare(user.Languages[i].Code, user.Languages[j].Code) > 0 })
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
tests/create_test.go
*GetUser("bulk_5", Config{Account: false, Pets: 0, Toys: 3, Company: true, Manager: false, Team: 1, Languages: 3, Friends: 1}), *GetUser("bulk_6", Config{Account: true, Pets: 4, Toys: 3, Company: false, Manager: true, Team: 1, Languages: 3, Friends: 0}), *GetUser("bulk_7", Config{Account: true, Pets: 1, Toys: 3, Company: true, Manager: true, Team: 4, Languages: 3, Friends: 1}),
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java
this.hitCountRelation = value; } public String getLanguages() { checkSpecifiedProperty("languages"); return convertEmptyToNull(languages); } public void setLanguages(String value) { registerModifiedProperty("languages"); this.languages = value; } public String getQueryId() { checkSpecifiedProperty("queryId");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.2K bytes - Viewed (0) -
.github/workflows/codeql.yml
# to commit it to your repository. # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. # # ******** NOTE ******** # We have attempted to detect the languages in your repository. Please check # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # name: "CodeQL" on: push: branches: [ "master" ] pull_request:
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Aug 14 23:51:19 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsSearchLogCQ.java
} public void setLanguages_Equal(String languages) { setLanguages_Term(languages, null); } public void setLanguages_Equal(String languages, ConditionOptionCall<TermQueryBuilder> opLambda) { setLanguages_Term(languages, opLambda); } public void setLanguages_Term(String languages) { setLanguages_Term(languages, null); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 145.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
tests/update_test.go
result.Toys = append(user.Toys, result.Toys...) sort.Slice(result.Languages, func(i, j int) bool { return strings.Compare(result.Languages[i].Code, result.Languages[j].Code) > 0 }) sort.Slice(result.Toys, func(i, j int) bool { return result.Toys[i].ID < result.Toys[j].ID }) sort.Slice(result2.Languages, func(i, j int) bool {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
tests/upsert_test.go
} else if len(langs2) != 3 { t.Errorf("should only find only 3 languages, but got %+v", langs2) } DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs) var langs3 []Language if err := DB.Find(&langs3, "code LIKE ?", "upsert-slice%").Error; err != nil { t.Errorf("no error should happen when find languages with code, but got %v", err) } else if len(langs3) != 3 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0)