Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for _id (0.13 sec)

  1. internal/s3select/csv/reader_contrib_test.go

    	}{
    		{
    			file:            "nyc-taxi-data-100k.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			header:          true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  2. tests/joins_test.go

    	if len(users6) != 1 {
    		t.Errorf("should find one users using left join with conditions, but got %v", len(users6))
    	}
    
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    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)
  3. chainable_api.go

    	}
    	return
    }
    
    // Joins specify Joins conditions
    //
    //	db.Joins("Account").Find(&user)
    //	db.Joins("JOIN emails ON emails.user_id = users.id AND emails.email = ?", "******@****.***").Find(&user)
    //	db.Joins("Account", DB.Select("id").Where("user_id = users.id AND name = ?", "someName").Model(&Account{}))
    func (db *DB) Joins(query string, args ...interface{}) (tx *DB) {
    	return joins(db, clause.LeftJoin, query, args...)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  4. schema/relationship_test.go

    	})
    }
    
    func TestHasOneOverrideReferences2(t *testing.T) {
    	type Profile struct {
    		gorm.Model
    		Name string
    	}
    
    	type User struct {
    		gorm.Model
    		ProfileID uint     `gorm:"column:profile_id"`
    		Profile   *Profile `gorm:"foreignKey:ID;references:ProfileID"`
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    		Name: "Profile", Type: schema.HasOne, Schema: "User", FieldSchema: "Profile",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. tests/table_test.go

    	dryDB := DB.Session(&gorm.Session{DryRun: true, QueryFields: true})
    	userQuery := "SELECT .*user.*id.*user.*created_at.*user.*updated_at.*user.*deleted_at.*user.*name.*user.*age" +
    		".*user.*birthday.*user.*company_id.*user.*manager_id.*user.*active.* "
    
    	r := dryDB.Table("`user`").Find(&User{}).Statement
    	if !regexp.MustCompile(userQuery + "FROM `user`").MatchString(r.Statement.SQL.String()) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. internal/event/target/nats.go

    	NATSClientCert    = "client_cert"
    	NATSClientKey     = "client_key"
    
    	// Streaming constants - deprecated
    	NATSStreaming                   = "streaming"
    	NATSStreamingClusterID          = "streaming_cluster_id"
    	NATSStreamingAsync              = "streaming_async"
    	NATSStreamingMaxPubAcksInFlight = "streaming_max_pub_acks_in_flight"
    
    	// JetStream constants
    	NATSJetStream = "jetstream"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. tests/create_test.go

    		{
    			"name":    "cat",
    			"user_id": gorm.Expr("(?)", DB.Table("(?) as tmp", subQuery).Select("@uid:=id")),
    		},
    		{
    			"name":    "dog",
    			"user_id": gorm.Expr("@uid"),
    		},
    	})
    
    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)
  8. istioctl/pkg/workload/workload.go

    	md["POD_NAMESPACE"] = wg.Namespace
    	md["SERVICE_ACCOUNT"] = we.ServiceAccount
    	md["TRUST_DOMAIN"] = meshConfig.TrustDomain
    
    	md["ISTIO_META_CLUSTER_ID"] = clusterID
    	md["ISTIO_META_MESH_ID"] = meshConfig.DefaultConfig.MeshId
    	md["ISTIO_META_NETWORK"] = we.Network
    	if portsStr := marshalWorkloadEntryPodPorts(we.Ports); portsStr != "" {
    		md["ISTIO_META_POD_PORTS"] = portsStr
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // OpenID keys and envs.
    const (
    	ClientID      = "client_id"
    	ClientSecret  = "client_secret"
    	ConfigURL     = "config_url"
    	ClaimName     = "claim_name"
    	ClaimUserinfo = "claim_userinfo"
    	RolePolicy    = "role_policy"
    	DisplayName   = "display_name"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  10. cmd/common-main.go

    	if value := env.Get(config.EnvMinIOPrometheusURL, ""); value != "" {
    		os.Setenv("CONSOLE_PROMETHEUS_URL", value)
    		if value := env.Get(config.EnvMinIOPrometheusJobID, "minio-job"); value != "" {
    			os.Setenv("CONSOLE_PROMETHEUS_JOB_ID", value)
    			// Support additional labels for more granular filtering.
    			if value := env.Get(config.EnvMinIOPrometheusExtraLabels, ""); value != "" {
    				os.Setenv("CONSOLE_PROMETHEUS_EXTRA_LABELS", value)
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top