Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Like (0.18 sec)

  1. tests/query_test.go

    		t.Fatalf("got error: %v", err)
    	}
    
    	if len(users) != 4 {
    		t.Errorf("Four users should be found, instead found %d", len(users))
    	}
    
    	DB.Select("*").Where("name LIKE ?", "subquery%").Where("age >= (?)", DB.
    		Select("AVG(age)").Table("users").Where("name LIKE ?", "subquery%")).Find(&users)
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLikeInvalidInputs: {
    		Code:           "LikeInvalidInputs",
    		Description:    "Invalid argument given to the LIKE clause in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrCastFailed: {
    		Code:           "CastFailed",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/iam.go

    	// sends `null` when no policy is set and the intended behavior is that the
    	// service account should inherit parent policy.
    	//
    	// However, for a policy like `{"Statement":[]}`, the intention is to not
    	// provide any permissions via the session policy - i.e. the service account
    	// can do nothing (such a JSON could be generated by an external application
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/erasure-object.go

    		}
    		return fi, nil, nil, toObjectErr(err, bucket, object)
    	}
    
    	if !fi.Deleted && len(fi.Erasure.Distribution) != len(onlineDisks) {
    		err := fmt.Errorf("unexpected file distribution (%v) from online disks (%v), looks like backend disks have been manually modified refusing to heal %s/%s(%s)",
    			fi.Erasure.Distribution, onlineDisks, bucket, object, opts.VersionID)
    		storageLogOnceIf(ctx, err, "get-object-file-info-manually-modified")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/erasure-server-pool.go

    			return loi, err
    		}
    		if contextCanceled(ctx) {
    			return ListObjectsInfo{}, ctx.Err()
    		}
    	}
    
    	if len(prefix) > 0 && maxKeys == 1 && marker == "" {
    		// Optimization for certain applications like
    		// - Cohesity
    		// - Actifio, Splunk etc.
    		// which send ListObjects requests where the actual object
    		// itself is the prefix and max-keys=1 in such scenarios
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    		clusterName = cs.Cluster
    	case *route.RouteAction_WeightedClusters:
    		clusterName = cs.WeightedClusters.Clusters[0].GetName()
    	}
    
    	// If this is an ingress gateway, the Domains will be something like *:80, so check routes
    	// which will look like "outbound|9080||productpage.default.svc.cluster.local"
    	res := fmt.Sprintf(`outbound\|%d\|[^\|]*\|(?P<service>[^\.]+)\.(?P<namespace>[^\.]+)\.svc\.cluster\.local$`, port)
    	re = regexp.MustCompile(res)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    // name xxx for the references C.xxx in the Go input.
    // The kind is either a constant, type, or variable.
    func (p *Package) guessKinds(f *File) []*Name {
    	// Determine kinds for names we already know about,
    	// like #defines or 'struct foo', before bothering with gcc.
    	var names, needType []*Name
    	optional := map[*Name]bool{}
    	for _, key := range nameKeys(f.Name) {
    		n := f.Name[key]
    		// If we've already found this name as a #define
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    	// accounts), STS accounts, internal IDP accounts, etc) with the
    	// policy.UpdateServiceAccountAdminAction permission can update any service
    	// account.
    	//
    	// 2. We would like to let a user update their own access keys, however it
    	// is currently blocked pending a re-design. Users are still able to delete
    	// and re-create them.
    	if !globalIAMSys.IsAllowed(policy.Args{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    					}
    				}
    			}
    
    			// None of the provided metadata filters match skip the object.
    			return false
    		}
    
    		// if one of source or target is non MinIO, just replicate the top most version like `mc mirror`
    		return !((r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3) && !info.IsLatest)
    	}
    
    	u, err := url.Parse(r.Target.Endpoint)
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    				t.Fatalf("%d: Expected no rules to match but got matches %v", i+1, rules)
    			}
    		})
    	}
    }
    
    // TestDeleteAllVersions tests ordering among events, especially ones which
    // expire all versions like ExpiredObjectDeleteAllVersions and
    // DelMarkerExpiration
    func TestDeleteAllVersions(t *testing.T) {
    	// ExpiredObjectDeleteAllVersions
    	lc := Lifecycle{
    		Rules: []Rule{
    			{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top