- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 152 for companies (0.05 seconds)
-
tests/create_test.go
} companies := []Company{ {ID: 101, Name: "company101_with_primarykey"}, {ID: 102, Name: "company102_with_primarykey"}, } DB.Create(&companies) if companies[0].ID != 101 || companies[1].ID != 102 { t.Errorf("invalid primary key after creating, got %v, %v", companies[0].ID, companies[1].ID) } } func TestCreateFromSubQuery(t *testing.T) {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
tests/sql_builder_test.go
Joins: []clause.Join{ { Table: clause.Table{Name: "companies", Raw: false}, ON: clause.Where{ Exprs: []clause.Expression{ clause.Eq{ Column: clause.Column{ Table: "users", Name: "company_id", }, Value: clause.Column{ Table: "companies", Name: "id", }, }, }, }, },Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
This section highlights **venture-backed** and **company-supported** solutions from companies that sponsor FastAPI. These products provide **additional features** and **integrations** on top of high-quality generated SDKs. By ✨ [**sponsoring FastAPI**](../help-fastapi.md#sponsor-the-author){.internal-link target=_blank} ✨, these companies help ensure the framework and its **ecosystem** remain healthy and **sustainable**.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.1K bytes - Click Count (1) -
tests/association_generics_test.go
ctx := context.Background() // Create companies c1 := Company{Name: "Electronics"} c2 := Company{Name: "Books"} if err := DB.Create(&c1).Error; err != nil { t.Fatalf("create c1: %v", err) } if err := DB.Create(&c2).Error; err != nil { t.Fatalf("create c2: %v", err) } // Create users with companies u1 := User{Name: "John", Age: 25, CompanyID: &c1.ID}
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
tests/update_test.go
} DB.Model(&user.Company).Update("Name", "new company name") if err := DB.Table("users").Where("1 = 1").Update("name", DB.Table("companies").Select("name").Where("companies.id = users.company_id")).Error; err != nil { t.Errorf("failed to update with sub query, got error %v", err) } DB.First(&result, user.ID) if result.Name != "new company name" {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
docs/en/docs/alternatives.md
Django REST framework was created to be a flexible toolkit for building Web APIs using Django underneath, to improve its API capabilities. It is used by many companies including Mozilla, Red Hat and Eventbrite. It was one of the first examples of **automatic API documentation**, and this was specifically one of the first ideas that inspired "the search for" **FastAPI**. /// note
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 23.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
import mockwebserver3.junit5.StartStop import okhttp3.CipherSuite.Companion.TLS_AES_128_GCM_SHA256 import okhttp3.CipherSuite.Companion.TLS_AES_256_GCM_SHA384 import okhttp3.CipherSuite.Companion.TLS_CHACHA20_POLY1305_SHA256 import okhttp3.CipherSuite.Companion.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 import okhttp3.CipherSuite.Companion.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 import okhttp3.CipherSuite.Companion.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Sep 16 07:21:43 GMT 2025 - 11.4K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
release of the Kotlin language. Companion Imports ----------------- The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is the same but `.kt` files now need `Companion` in the import. This works with OkHttp 3.x: ```kotlin import okhttp3.CipherSuite.forJavaName ``` But OkHttp 4.x needs a `Companion`: ```kotlin
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparisonChain.java
/** * Compares two objects using a comparator, <i>if</i> the result of this comparison chain has not * already been determined. */ public abstract <T extends @Nullable Object> ComparisonChain compare( @ParametricNullness T left, @ParametricNullness T right, Comparator<T> comparator); /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
import kotlin.time.Duration import kotlin.time.Duration.Companion.milliseconds import kotlin.time.measureTime import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketEffect.CloseSocket import mockwebserver3.SocketEffect.ShutdownConnection import mockwebserver3.junit5.StartStop import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 08 21:45:04 GMT 2025 - 18.8K bytes - Click Count (0)