Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 253 for companies (0.06 seconds)

  1. tests/associations_belongs_to_test.go

    	AssertAssociationCount(t, users, "Company", 3, "")
    	AssertAssociationCount(t, users, "Manager", 2, "")
    
    	// Find
    	var companies []Company
    	if DB.Model(&users).Association("Company").Find(&companies); len(companies) != 3 {
    		t.Errorf("companies count should be %v, but got %v", 3, len(companies))
    	}
    
    	var managers []User
    	if DB.Model(&users).Association("Manager").Find(&managers); len(managers) != 2 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            able to discuss the full details of what you're working on.
    
    
            But Guava aims to provide functionality that is useful across boundaries of projects,
            companies, or even industries — utilities useful for a sizable proportion of all Java
            programmers everywhere. If you can give enough detail such that any of us can imagine coming
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  6. 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 can
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            able to discuss the full details of what you're working on.
    
    
            But Guava aims to provide features that are useful across boundaries of projects, companies,
            or even industries — utilities useful for a sizable proportion of all Java programmers
            everywhere. If you can give enough detail such that any of us can imagine coming across
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  8. tests/postgres_test.go

    	}
    }
    
    type CompanyNew struct {
    	ID   int
    	Name int
    }
    
    func TestAlterColumnDataType(t *testing.T) {
    	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: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Click Count (0)
  9. 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)
  10. clause/from_test.go

    							},
    						}, {
    							Type:  clause.LeftJoin,
    							Table: clause.Table{Name: "companies"},
    							Using: []string{"company_name"},
    						},
    					},
    				},
    			},
    			"SELECT * FROM `users` INNER JOIN `articles` ON `articles`.`id` = `users`.`id` LEFT JOIN `companies` USING (`company_name`)", nil,
    		},
    	}
    
    	for idx, result := range results {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jul 15 02:25:10 GMT 2020
    - 1.9K bytes
    - Click Count (0)
Back to Top