Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 419 for friends (0.08 seconds)

  1. tests/update_many2many_test.go

    		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
    	DB.Preload("Languages").Preload("Friends").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	for idx := range user.Friends {
    		user.Friends[idx].Name += "new"
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  2. docs_src/python_types/tutorial011_py310.py

        id: int
        name: str = "John Doe"
        signup_ts: datetime | None = None
        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    # > User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3]
    print(user.id)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 02 15:56:35 GMT 2023
    - 461 bytes
    - Click Count (0)
  3. utils/tests/models.go

    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    // NamedPet is a reference to a named `Pet` (has one)
    type User struct {
    	gorm.Model
    	Name      string
    	Age       uint
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  4. tests/helper_test.go

    		}
    	})
    
    	t.Run("Friends", func(t *testing.T) {
    		if len(user.Friends) != len(expect.Friends) {
    			t.Fatalf("Friends should equal, expect: %v, got %v", len(expect.Friends), len(user.Friends))
    		}
    
    		sort.Slice(user.Friends, func(i, j int) bool {
    			return user.Friends[i].ID > user.Friends[j].ID
    		})
    
    		sort.Slice(expect.Friends, func(i, j int) bool {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  5. tests/delete_test.go

    		*GetUser("delete_slice_with_associations2", Config{Account: true, Pets: 3, Toys: 2, Company: true, Manager: true, Team: 2, Languages: 2, Friends: 3}),
    		*GetUser("delete_slice_with_associations3", Config{Account: true, Pets: 2, Toys: 3, Company: true, Manager: true, Team: 3, Languages: 3, Friends: 2}),
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. docs/en/docs/deployment/cloud.md

    It brings the same **developer experience** of building apps with FastAPI to **deploying** them to the cloud. ๐ŸŽ‰
    
    FastAPI Cloud is the primary sponsor and funding provider for the *FastAPI and friends* open source projects. โœจ
    
    ## Cloud Providers - Sponsors { #cloud-providers-sponsors }
    
    Some other cloud providers โœจ [**sponsor FastAPI**](../help-fastapi.md#sponsor-the-author) โœจ too. ๐Ÿ™‡
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  7. docs_src/extra_models/tutorial003_py310.py

        type: str
    
    
    class CarItem(BaseItem):
        type: str = "car"
    
    
    class PlaneItem(BaseItem):
        type: str = "plane"
        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
            "description": "Music is my aeroplane, it's my aeroplane",
            "type": "plane",
            "size": 5,
        },
    }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 612 bytes
    - Click Count (0)
  8. docs/ko/docs/deployment/cloud.md

    **[FastAPI Cloud](https://fastapicloud.com)**๋Š” **FastAPI**๋ฅผ ๋งŒ๋“  ๋™์ผํ•œ ์ž‘์„ฑ์ž์™€ ํŒ€์ด ๊ตฌ์ถ•ํ–ˆ์Šต๋‹ˆ๋‹ค.
    
    ์ตœ์†Œํ•œ์˜ ๋…ธ๋ ฅ์œผ๋กœ API๋ฅผ **๊ตฌ์ถ•**, **๋ฐฐํฌ**, **์ ‘๊ทผ**ํ•˜๋Š” ๊ณผ์ •์„ ๊ฐ„์†Œํ™”ํ•ฉ๋‹ˆ๋‹ค.
    
    FastAPI๋กœ ์•ฑ์„ ๋นŒ๋“œํ•  ๋•Œ์˜ ๋™์ผํ•œ **๊ฐœ๋ฐœ์ž ๊ฒฝํ—˜**์„ ํด๋ผ์šฐ๋“œ์— **๋ฐฐํฌ**ํ•˜๋Š” ๋ฐ์—๋„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ๐ŸŽ‰
    
    FastAPI Cloud๋Š” *FastAPI and friends* ์˜คํ”ˆ ์†Œ์Šค ํ”„๋กœ์ ํŠธ์˜ ์ฃผ์š” ํ›„์›์ž์ด์ž ์ž๊ธˆ ์ œ๊ณต์ž์ž…๋‹ˆ๋‹ค. โœจ
    
    ## ํด๋ผ์šฐ๋“œ ์ œ๊ณต์—…์ฒด - ํ›„์›์ž๋“ค { #cloud-providers-sponsors }
    
    ๋‹ค๋ฅธ ๋ช‡๋ช‡ ํด๋ผ์šฐ๋“œ ์ œ๊ณต์—…์ฒด๋“ค๋„ โœจ [**FastAPI๋ฅผ ํ›„์›ํ•ฉ๋‹ˆ๋‹ค**](../help-fastapi.md#sponsor-the-author) โœจ. ๐Ÿ™‡
    
    ๊ฐ€์ด๋“œ๋ฅผ ๋”ฐ๋ผ ํ•˜๊ณ  ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•ด๋ณด๊ธฐ ์œ„ํ•ด ์ด๋“ค๋„ ๊ณ ๋ คํ•ด๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/deployment/fastapicloud.md

    ๅฎƒไปฅๆœ€ๅฐ‘็š„ๅฟƒๅŠ›๏ผŒ็ฒพ็ฐกๅŒ–ๅปบ็ซ‹ใ€้ƒจ็ฝฒ่ˆ‡ๅญ˜ๅ– API ็š„ๆต็จ‹ใ€‚
    
    ๅฎƒๆŠŠไฝฟ็”จ FastAPI ้–‹็™ผๆ‡‰็”จ็š„ๅ„ช็•ฐ้–‹็™ผ้ซ”้ฉ—๏ผŒๅปถไผธๅˆฐๅฐ‡ๅฎƒๅ€‘้ƒจ็ฝฒๅˆฐ้›ฒ็ซฏใ€‚๐ŸŽ‰
    
    ๅฎƒไนŸๆœƒ็‚บไฝ ่™•็†้ƒจ็ฝฒๆ‡‰็”จๆ™‚ๅคšๆ•ธ้œ€่ฆ้ขๅฐ็š„ไบ‹้ …๏ผŒไพ‹ๅฆ‚๏ผš
    
    * HTTPS
    * ๅคšๅ‰ฏๆœฌ๏ผŒไธฆๅฏไพๆ“š่ซ‹ๆฑ‚่‡ชๅ‹•ๆ“ด็ธฎ
    * ็ญ‰็ญ‰ใ€‚
    
    FastAPI Cloud ๆ˜ฏ *FastAPI and friends* ้–‹ๆบๅฐˆๆกˆ็š„ไธป่ฆ่ดŠๅŠฉ่€…่ˆ‡่ณ‡้‡‘ๆไพ›่€…ใ€‚โœจ
    
    ## ้ƒจ็ฝฒๅˆฐๅ…ถไป–้›ฒ็ซฏไพ›ๆ‡‰ๅ•† { #deploy-to-other-cloud-providers }
    
    FastAPI ๆ˜ฏๅŸบๆ–ผๆจ™ๆบ–็š„้–‹ๆบๅฐˆๆกˆใ€‚ไฝ ๅฏไปฅๆŠŠ FastAPI ๆ‡‰็”จ้ƒจ็ฝฒๅˆฐไฝ ้ธๆ“‡็š„ไปปไฝ•้›ฒ็ซฏไพ›ๆ‡‰ๅ•†ใ€‚
    
    ่ซ‹ไพ็…งไฝ ็š„้›ฒ็ซฏไพ›ๆ‡‰ๅ•†็š„ๆŒ‡ๅ—๏ผŒไฝฟ็”จไป–ๅ€‘็š„ๆ–นๅผ้ƒจ็ฝฒ FastAPI ๆ‡‰็”จใ€‚๐Ÿค“
    
    ## ้ƒจ็ฝฒๅˆฐไฝ ่‡ชๅทฑ็š„ไผบๆœๅ™จ { #deploy-your-own-server }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. docs/ko/docs/deployment/fastapicloud.md

    FastAPI๋กœ ์•ฑ์„ ๋งŒ๋“ค ๋•Œ์˜ ๋™์ผํ•œ **๊ฐœ๋ฐœ์ž ๊ฒฝํ—˜**์„, ํด๋ผ์šฐ๋“œ์— **๋ฐฐํฌ**ํ•  ๋•Œ๋„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ๐ŸŽ‰
    
    ๋˜ํ•œ ์•ฑ์„ ๋ฐฐํฌํ•  ๋•Œ ๋ณดํ†ต ํ•„์š”ํ•œ ๋Œ€๋ถ€๋ถ„์˜ ๊ฒƒ๋“ค๋„ ์ฒ˜๋ฆฌํ•ด ์ค๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค๋ฉด:
    
    * HTTPS
    * ์š”์ฒญ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์ž๋™ ์Šค์ผ€์ผ๋งํ•˜๋Š” ๋ณต์ œ(Replication)
    * ๋“ฑ
    
    FastAPI Cloud๋Š” *FastAPI and friends* ์˜คํ”ˆ ์†Œ์Šค ํ”„๋กœ์ ํŠธ์˜ ์ฃผ์š” ์Šคํฐ์„œ์ด์ž ์ž๊ธˆ ์ง€์› ์ œ๊ณต์ž์ž…๋‹ˆ๋‹ค. โœจ
    
    ## ๋‹ค๋ฅธ ํด๋ผ์šฐ๋“œ ์ œ๊ณต์—…์ฒด์— ๋ฐฐํฌํ•˜๊ธฐ { #deploy-to-other-cloud-providers }
    
    FastAPI๋Š” ์˜คํ”ˆ ์†Œ์Šค์ด๋ฉฐ ํ‘œ์ค€์„ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ์›ํ•˜๋Š” ์–ด๋–ค ํด๋ผ์šฐ๋“œ ์ œ๊ณต์—…์ฒด์—๋„ FastAPI ์•ฑ์„ ๋ฐฐํฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ํ•ด๋‹น ํด๋ผ์šฐ๋“œ ์ œ๊ณต์—…์ฒด์˜ ๊ฐ€์ด๋“œ๋ฅผ ๋”ฐ๋ผ FastAPI ์•ฑ์„ ๋ฐฐํฌํ•˜์„ธ์š”. ๐Ÿค“
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
Back to Top