Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for column (0.18 sec)

  1. tests/migrate_test.go

    		t.Fatalf("Failed to add column, got %v", err)
    	}
    
    	if !DB.Table("column_structs").Migrator().HasColumn(&NewColumnStruct{}, "NewName") {
    		t.Fatalf("Failed to find added column")
    	}
    
    	if err := DB.Table("column_structs").Migrator().DropColumn(&NewColumnStruct{}, "NewName"); err != nil {
    		t.Fatalf("Failed to add column, got %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    		wantResult string
    	}{
    		{
    			name:  "Select a column containing dot",
    			query: `select "na.me" from S3Object s`,
    			wantResult: `apple
    mango`,
    		},
    		{
    			name:       "Select column containing dot with table name prefix",
    			query:      `select count(S3Object."na.me") from S3Object`,
    			wantResult: `2`,
    		},
    		{
    			name:  "Select column containing dot with table alias prefix",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. tests/query_test.go

    	if !rows.Next() {
    		t.Errorf("Should have returned at least one row")
    	} else {
    		columns, _ := rows.Columns()
    		AssertEqual(t, columns, []string{"fake"})
    	}
    
    	rows.Close()
    }
    
    func TestSelectWithArrayInput(t *testing.T) {
    	DB.Save(&User{Name: "select_with_array", Age: 42})
    
    	var user User
    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)
  4. src/cmd/cgo/gcc.go

    			end := fset.Position(old.End())
    			// Subtract 1 from the column if we are going to
    			// append a close parenthesis. That will set the
    			// correct column for the following characters.
    			sub := 0
    			if r.Name.Kind != "type" {
    				sub = 1
    			}
    			if end.Column > sub {
    				repl = fmt.Sprintf("%s /*line :%d:%d*/", repl, end.Line, end.Column-sub)
    			}
    			if r.Name.Kind != "type" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return map(delegate().row(rowKey), mutex);
          }
        }
    
        @Override
        public Map<R, V> column(@ParametricNullness C columnKey) {
          synchronized (mutex) {
            return map(delegate().column(columnKey), mutex);
          }
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          synchronized (mutex) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrEvaluatorBindingDoesNotExist: {
    		Code:           "ErrEvaluatorBindingDoesNotExist",
    		Description:    "A column name or a path provided does not exist in the SQL expression",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingHeaders: {
    		Code:           "MissingHeaders",
    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)
  7. cmd/xl-storage.go

    	return info, err
    }
    
    // getVolDir - will convert incoming volume names to
    // corresponding valid volume names on the backend in a platform
    // compatible way for all operating systems. If volume is not found
    // an error is generated.
    func (s *xlStorage) getVolDir(volume string) (string, error) {
    	if volume == "" || volume == "." || volume == ".." {
    		return "", errVolumeNotFound
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    	}
    	ctx := context.Background()
    
    	volume := "myvol-vol"
    	object := "my-object"
    	if err := xl.MakeVol(ctx, volume); err != nil {
    		t.Fatalf("Unable to create volume, %s", err)
    	}
    	var versions [50]string
    	for i := range versions {
    		versions[i] = uuid.New().String()
    		fi := FileInfo{
    			Name: object, Volume: volume, VersionID: versions[i], ModTime: UTCNow(), DataDir: "", Size: 10000,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    func (j *xlMetaV2Version) ToFileInfo(volume, path string, allParts bool) (fi FileInfo, err error) {
    	if j == nil {
    		return fi, errFileNotFound
    	}
    	switch j.Type {
    	case ObjectType:
    		fi, err = j.ObjectV2.ToFileInfo(volume, path, allParts)
    	case DeleteType:
    		fi, err = j.DeleteMarker.ToFileInfo(volume, path)
    	case LegacyType:
    		fi, err = j.ObjectV1.ToFileInfo(volume, path)
    	default:
    		return fi, errFileNotFound
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. docs/bucket/notifications/README.md

    This notification target supports two formats: _namespace_ and _access_.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
Back to top