Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 728 for selects (0.19 sec)

  1. chainable_api.go

    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    //	db.Select("name", "age").Find(&users)
    //	// Select name and age of user using an array
    //	db.Select([]string{"name", "age"}).Find(&users)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  2. common-protos/k8s.io/api/networking/v1/generated.proto

    message NetworkPolicyPeer {
      // podSelector is a label selector which selects pods. This field follows standard label
      // selector semantics; if present but empty, it selects all pods.
      //
      // If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects
      // the pods matching podSelector in the Namespaces selected by NamespaceSelector.
      // Otherwise it selects the pods matching podSelector in the policy's own namespace.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. callbacks/query.go

    				}
    			}
    
    			if len(conds) > 0 {
    				db.Statement.AddClause(clause.Where{Exprs: conds})
    			}
    		}
    
    		if len(db.Statement.Selects) > 0 {
    			clauseSelect.Columns = make([]clause.Column, len(db.Statement.Selects))
    			for idx, name := range db.Statement.Selects {
    				if db.Statement.Schema == nil {
    					clauseSelect.Columns[idx] = clause.Column{Name: name, Raw: true}
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. callbacks/delete.go

    					tx = tx.Unscoped()
    				}
    
    				if len(db.Statement.Selects) > 0 {
    					selects := make([]string, 0, len(db.Statement.Selects))
    					for _, s := range db.Statement.Selects {
    						if s == clause.Associations {
    							selects = append(selects, s)
    						} else if columnPrefix := column + "."; strings.HasPrefix(s, columnPrefix) {
    							selects = append(selects, strings.TrimPrefix(s, columnPrefix))
    						}
    					}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Feb 25 02:48:23 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  5. statement.go

    				switch reflectValue.Kind() {
    				case reflect.Struct:
    					for _, field := range s.Fields {
    						selected := selectedColumns[field.DBName] || selectedColumns[field.Name]
    						if selected || (!restricted && field.Readable) {
    							if v, isZero := field.ValueOf(stmt.Context, reflectValue); !isZero || selected {
    								if field.DBName != "" {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  6. callbacks/associations.go

    		tx.Statement.Settings.Store(k, v)
    		return true
    	})
    
    	if tx.Statement.FullSaveAssociations {
    		tx = tx.Set("gorm:update_track_time", true)
    	}
    
    	if len(selects) > 0 {
    		tx = tx.Select(selects)
    	} else if restricted && len(omits) == 0 {
    		tx = tx.Omit(clause.Associations)
    	}
    
    	if len(omits) > 0 {
    		tx = tx.Omit(omits...)
    	}
    
    	return db.AddError(tx.Create(values).Error)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. tensorflow/BUILD

    # Description:
    # TensorFlow is a computational framework, primarily for use in machine
    # learning applications.
    
    load("@bazel_skylib//lib:selects.bzl", "selects")
    load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "bool_setting")
    load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda")
    load(
        "//tensorflow:tensorflow.bzl",
        "VERSION",
        "VERSION_MAJOR",
        "check_deps",
        "if_google",
        "if_oss",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (6)
  8. finisher_api.go

    			tx.Statement.Model = nil
    		}()
    	}
    
    	if selectClause, ok := db.Statement.Clauses["SELECT"]; ok {
    		defer func() {
    			tx.Statement.Clauses["SELECT"] = selectClause
    		}()
    	} else {
    		defer delete(tx.Statement.Clauses, "SELECT")
    	}
    
    	if len(tx.Statement.Selects) == 0 {
    		tx.Statement.AddClause(clause.Select{Expression: clause.Expr{SQL: "count(*)"}})
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-ingress/templates/zzz_profile.yaml

    Complex logic ahead...
    We have three sets of values, in order of precedence (last wins):
    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. manifests/charts/istio-cni/templates/zzz_profile.yaml

    {{/*
    Complex logic ahead...
    We have three sets of values, in order of precedence (last wins):
    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
Back to top