- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 261 for companies (0.13 seconds)
-
tests/delete_test.go
return } companies := []Company{ {Name: "delete-returning-1"}, {Name: "delete-returning-2"}, {Name: "delete-returning-3"}, } DB.Create(&companies) var results []Company DB.Where("name IN ?", []string{companies[0].Name, companies[1].Name}).Clauses(clause.Returning{}).Delete(&results) if len(results) != 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) -
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 Apr 05 09:35:12 GMT 2026 - 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 Apr 05 09:35:12 GMT 2026 - 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) ✨, these companies help ensure the framework and its **ecosystem** remain healthy and **sustainable**.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.7K bytes - Click Count (1) -
tests/count_test.go
t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String()) } var count4 int64 if err := DB.Table("users").Joins("LEFT JOIN companies on companies.name = users.name").Where("users.name = ?", user1.Name).Count(&count4).Error; err != nil || count4 != 1 { t.Errorf("count with join, got error: %v, count %v", err, count4) } var count5 int64
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 6.8K bytes - Click Count (0) -
README.md
and utilities for concurrency, I/O, hashing, primitives, strings, and more! It is widely used on most Java projects within Google, and widely used by many other companies as well. Guava comes in two flavors: * The JRE flavor requires JDK 1.8 or higher. * If you need support for Android, use [the Android flavor](https://github.com/google/guava/wiki/Android). You canCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.2K bytes - Click Count (0) -
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 Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
tests/gaussdb_test.go
} } func TestGaussDBAlterColumnDataType(t *testing.T) { if DB.Dialector.Name() != "gaussdb" { t.Skip() } DB.Migrator().DropTable(&Company{}) DB.AutoMigrate(Company{}) if err := DB.Table("companies").Migrator().AlterColumn(CompanyNew{}, "name"); err != nil { t.Fatalf("failed to alter column from string to int, got error %v", err) } DB.AutoMigrate(Company{})
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 6.6K 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 Apr 05 09:35:12 GMT 2026 - 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 22.2K bytes - Click Count (0)