- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for team (0.04 sec)
-
tests/associations_has_many_test.go
if err := DB.Model(&user2).Association("Team").Append(&teams); err != nil { t.Fatalf("Error happened when append team, got %v", err) } for _, team := range teams { team := team if team.ID == 0 { t.Fatalf("Team's ID should be created") } user.Team = append(user.Team, team) } CheckUser(t, user2, user)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K 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) -
tests/associations_many2many_test.go
*GetUser("slice-many2many-1", Config{Team: 2}), *GetUser("slice-many2many-2", Config{Team: 0}), *GetUser("slice-many2many-3", Config{Team: 4}), } DB.Create(&users) // Count AssertAssociationCount(t, users, "Team", 6, "") // Find var teams []User if DB.Model(&users).Association("Team").Find(&teams); len(teams) != 6 { t.Errorf("teams count should be %v, but got %v", 6, len(teams)) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
.github/CODEOWNERS
platforms/core-execution/build-cache-base/ @gradle/bt-execution @gradle/dv-integrations-team platforms/core-execution/build-cache-http/ @gradle/bt-execution @gradle/dv-integrations-team platforms/core-execution/build-cache-packaging/ @gradle/bt-execution @gradle/dv-integrations-team
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 24 14:46:27 UTC 2024 - 10.6K bytes - Viewed (0) -
tests/update_test.go
result.Team = append(user.Team, result.Team...) result.Friends = append(user.Friends, result.Friends...) sort.Slice(result.Pets, func(i, j int) bool { return result.Pets[i].ID < result.Pets[j].ID }) sort.Slice(result.Team, func(i, j int) bool { return result.Team[i].ID < result.Team[j].ID }) sort.Slice(result.Friends, 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/preload_test.go
user := *GetUser("user_without_associations", Config{}) DB.Create(&user) DB.Preload("Team").Preload("Languages").Preload("Friends").First(&user, "name = ?", user.Name) if r, err := json.Marshal(&user); err != nil { t.Errorf("failed to marshal users, got error %v", err) } else if !regexp.MustCompile(`"Team":\[\],"Languages":\[\],"Friends":\[\]`).MatchString(string(r)) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
docs/en/docs/management-tasks.md
These are the tasks that can be performed to manage the FastAPI repository by [team members](./fastapi-people.md#team){.internal-link target=_blank}. /// tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can probably skip it. 😉 /// ...so, you are a [team member of FastAPI](./fastapi-people.md#team){.internal-link target=_blank}? Wow, you are so cool! 😎
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 16 21:56:33 UTC 2024 - 14.2K bytes - Viewed (0) -
CONTRIBUTING.md
just getting started, GitHub has a [how-to](https://help.github.com/articles/using-pull-requests/). TensorFlow team members will be assigned to review your pull requests. Once the pull requests are approved and pass continuous integration checks, a TensorFlow team member will apply `ready to pull` label to your change. This means we are working on getting your pull request submitted to our internal repository. After
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 23 06:20:12 UTC 2024 - 15.9K bytes - Viewed (0) -
tests/joins_test.go
DB.Create(user) userIDs = append(userIDs, user.ID) } var entries []User assert.NotPanics(t, func() { assert.NoError(t, DB.Debug().Preload("Manager.Team"). Joins("Manager.Company"). Find(&entries).Error) }) } func TestJoinsPreload_Issue7013_RelationEmpty(t *testing.T) { type ( Furniture struct { gorm.Model OwnerID *uint }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K bytes - Viewed (0) -
schema/schema_test.go
}, { Name: "Manager", Type: schema.BelongsTo, Schema: "User", FieldSchema: "User", References: []Reference{{"ID", "User", "ManagerID", "User", "", false}}, }, { Name: "Team", Type: schema.HasMany, Schema: "User", FieldSchema: "User", References: []Reference{{"ID", "User", "ManagerID", "User", "", true}}, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 20 12:19:31 UTC 2024 - 13.3K bytes - Viewed (0)