- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 419 for friends (0.08 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
docs_src/extra_models/tutorial003_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 612 bytes - Click Count (0) -
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) -
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) -
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)