Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for _team_ (0.04 sec)

  1. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  4. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. docs/en/docs/fastapi-people.md

    * Help [manage the repository](management-tasks.md){.internal-link target=_blank} (team members).
    
    All these tasks help maintain the repository.
    
    A round of applause to them. ๐Ÿ‘ ๐Ÿ™‡
    
    ## Team
    
    This is the current list of team members. ๐Ÿ˜Ž
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jan 28 20:34:56 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. docs/en/docs/contributing.md

    Once there are several people in the discussion, the FastAPI team can evaluate it and can make it an official translation.
    
    Then the docs will be automatically translated using AI, and the team of native speakers can review the translation, and help tweak the AI prompts.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Sep 21 11:29:04 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. docs/de/docs/index.md

    ## Meinungen { #opinions }
    
    โ€ž_[...] Ich verwende **FastAPI** heutzutage sehr oft. [...] Ich habe tatsรคchlich vor, es fรผr alle **ML-Services meines Teams bei Microsoft** zu verwenden. Einige davon werden in das Kernprodukt **Windows** und einige **Office**-Produkte integriert._โ€œ
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  10. tests/joins_test.go

    		DB.Create(user)
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var entries []User
    	assert.NotPanics(t, func() {
    		assert.NoError(t,
    			DB.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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top