Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Company (0.29 sec)

  1. utils/utils.go

    	}
    	return ""
    }
    
    const nestedRelationSplit = "__"
    
    // NestedRelationName nested relationships like `Manager__Company`
    func NestedRelationName(prefix, name string) string {
    	return prefix + nestedRelationSplit + name
    }
    
    // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
    func SplitNestedRelationName(name string) []string {
    	return strings.Split(name, nestedRelationSplit)
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. docs/extensions/s3zip/README.md

    e.g.:
    To download `2021/taxes.csv` archived in `financial.zip` and stored under a bucket named `company-data`, you can issue a GET request using the following path 'company-data/financial.zip/2021/taxes.csv`
    
    ## Contents properties
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 10 16:28:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. tests/query_test.go

    	var results2 []User
    	DB.Find(&results2, map[string]interface{}{"name": users[3].Name, "company_id": nil})
    	if len(results2) != 0 {
    		t.Errorf("Search all records with inline map containing null value finding 0 records")
    	}
    
    	DB.Find(&results2, map[string]interface{}{"name": users[0].Name, "company_id": nil})
    	if len(results2) != 1 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  4. tests/preload_test.go

    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPreloadWithAssociations(t *testing.T) {
    	user := *GetUser("preload_with_associations", Config{
    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    		Languages: 3,
    		Friends:   1,
    	})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. schema/relationship_test.go

    		References: []Reference{
    			{"ID", "", "UserID", "Account", "", true},
    		},
    	})
    
    	checkStructRelation(t, &result, Relation{
    		Name: "Company", Type: schema.BelongsTo, Schema: "", FieldSchema: "Company",
    		References: []Reference{
    			{"ID", "Company", "CompanyID", "", "", false},
    		},
    	})
    }
    
    func TestSameForeignKey(t *testing.T) {
    	type UserAux struct {
    		gorm.Model
    		Aux  string
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/generate-clients.md

    ## Client and SDK Generators - Sponsor
    
    There are also some **company-backed** Client and SDK generators based on OpenAPI (FastAPI), in some cases they can offer you **additional features** on top of high-quality generated SDKs/clients.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. docs/en/docs/help-fastapi.md

    I love to hear about how **FastAPI** is being used, what you have liked in it, in which project/company are you using it, etc.
    
    ## Vote for FastAPI
    
    * <a href="https://www.slant.co/options/34241/~fastapi-review" class="external-link" target="_blank">Vote for **FastAPI** in Slant</a>.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. CREDITS

          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright 2016-2017 The New York Times Company
    
       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top