Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 381 for companies (0.04 sec)

  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}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  2. 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{})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. 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{})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. 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" {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // https://www.iana.org/domains/root/db/tirol.html
    tirol
    
    // tjmaxx : The TJX Companies, Inc.
    // https://www.iana.org/domains/root/db/tjmaxx.html
    tjmaxx
    
    // tjx : The TJX Companies, Inc.
    // https://www.iana.org/domains/root/db/tjx.html
    tjx
    
    // tkmaxx : The TJX Companies, Inc.
    // https://www.iana.org/domains/root/db/tkmaxx.html
    tkmaxx
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (1)
  6. 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
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	}
    
    	if tables, err := DB.Migrator().GetTables(); err != nil {
    		t.Fatalf("Failed to get database all tables, but got error %v", err)
    	} else {
    		for _, t1 := range []string{"users", "accounts", "pets", "companies", "toys", "languages", "tools"} {
    			hasTable := false
    			for _, t2 := range tables {
    				if t2 == t1 {
    					hasTable = true
    					break
    				}
    			}
    			if !hasTable {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  8. okhttp/api/jvm/okhttp.api

    public abstract interface class okhttp3/Dns {
    	public static final field Companion Lokhttp3/Dns$Companion;
    	public static final field SYSTEM Lokhttp3/Dns;
    	public abstract fun lookup (Ljava/lang/String;)Ljava/util/List;
    }
    
    public final class okhttp3/Dns$Companion {
    }
    
    public abstract class okhttp3/EventListener {
    	public static final field Companion Lokhttp3/EventListener$Companion;
    	public static final field NONE Lokhttp3/EventListener;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  9. okhttp-tls/api/okhttp-tls.api

    }
    
    public final class okhttp3/tls/HeldCertificate {
    	public static final field Companion Lokhttp3/tls/HeldCertificate$Companion;
    	public final fun -deprecated_certificate ()Ljava/security/cert/X509Certificate;
    	public final fun -deprecated_keyPair ()Ljava/security/KeyPair;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR
    
    /**
     * Do not use this.
     *
     * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`:
     *
     * ```
     *   val okHttpClient = OkHttpClient.Builder()
     *     .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR)
     *     .build()
     * ```
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top