Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for companies (0.19 sec)

  1. 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",
    								},
    							},
    						},
    					},
    				},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  2. 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) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  3. 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" {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/generate-clients.md

    For example, you might want to try <a href="https://speakeasyapi.dev/?utm_source=fastapi+repo&utm_medium=github+sponsorship" class="external-link" target="_blank">Speakeasy</a>.
    
    There are also several other companies offering similar services that you can search and find online. 🤓
    
    ## Generate a TypeScript Frontend Client
    
    Let's start with a simple FastAPI application:
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. tests/joins_test.go

    	// Removing the below two lines or downgrading to gorm v1.20.12 will make this test pass.
    	var total int64
    	query.Count(&total)
    
    	var result User
    
    	// Incorrectly generates a 'SELECT *' query which causes companies.id to overwrite users.id
    	if err := query.First(&result, user.ID).Error; err != nil {
    		t.Fatalf("Failed, got error: %v", err)
    	}
    
    	if result.ID != user.ID {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K 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
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

    import mockwebserver3.MockWebServer
    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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. mockwebserver/api/mockwebserver3.api

    }
    
    public final class mockwebserver3/MockResponse$Companion {
    }
    
    public abstract interface class mockwebserver3/MockResponseBody {
    	public abstract fun getContentLength ()J
    	public abstract fun writeTo (Lokio/BufferedSink;)V
    }
    
    public final class mockwebserver3/MockWebServer : java/io/Closeable {
    	public static final field Companion Lmockwebserver3/MockWebServer$Companion;
    	public fun <init> ()V
    	public fun close ()V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SortedLists.java

      /**
       * A specification for which index to return if the list contains at least one element that
       * compares as equal to the key.
       */
      enum KeyPresentBehavior {
        /**
         * Return the index of any list element that compares as equal to the key. No guarantees are
         * made as to which index is returned, if more than one element compares as equal to the key.
         */
        ANY_PRESENT {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

    import java.util.concurrent.atomic.AtomicBoolean
    import kotlin.test.assertFailsWith
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.internal.and
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.ForwardingSource
    import okio.buffer
    import org.junit.jupiter.api.Test
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top