Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 264 for _columns (0.26 sec)

  1. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        }
      }
    
      public void testColumnMissing() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Map<String, Character> column = table.column(4);
        assertTrue(column.isEmpty());
        try {
          column.put("foo", 'd');
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testRowPutIllegal() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. migrator/migrator.go

    				newName = field.DBName
    			}
    		}
    
    		return m.DB.Exec(
    			"ALTER TABLE ? RENAME COLUMN ? TO ?",
    			m.CurrentTable(stmt), clause.Column{Name: oldName}, clause.Column{Name: newName},
    		).Error
    	})
    }
    
    // MigrateColumn migrate column
    func (m Migrator) MigrateColumn(value interface{}, field *schema.Field, columnType gorm.ColumnType) error {
    	if field.IgnoreMigration {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  3. internal/s3select/unused-errors.go

    		code:       "ColumnTooLong",
    		message:    "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errOverMaxColumn(err error) *s3Error {
    	return &s3Error{
    		code:       "OverMaxColumn",
    		message:    "The number of columns in the result is greater than the maximum allowable number of columns.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. internal/s3select/parquet/reader.go

    	nextRow, err := pr.r.NextRow()
    	if err != nil {
    		if err == io.EOF {
    			return nil, err
    		}
    		return nil, errParquetParsingError(err)
    	}
    
    	kvs := jstream.KVS{}
    	for _, col := range pr.r.Columns() {
    
    		var value interface{}
    		if v, ok := nextRow[col.FlatName()]; ok {
    			value, err = convertFromAnnotation(col.Element(), v)
    			if err != nil {
    				return nil, errParquetParsingError(err)
    			}
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  5. finisher_api.go

    			} else if eq, ok := expr.(clause.Eq); ok {
    				switch column := eq.Column.(type) {
    				case string:
    					assigns[column] = eq.Value
    				case clause.Column:
    					assigns[column.Name] = eq.Value
    				}
    			}
    		}
    
    		return tx.Model(dest).Updates(assigns)
    	}
    
    	return tx
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    	}
    
    	// UpdateColumns
    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Raw("SELECT * FROM users ?", clause.OrderBy{
    			Columns: []clause.OrderByColumn{{Column: clause.Column{Name: "id", Raw: true}, Desc: true}},
    		})
    	})
    	assertEqualSQL(t, `SELECT * FROM users ORDER BY id DESC`, sql)
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip

    headerArray.length; i++) { text += "<th>" + headerArray[i] + "</th>"; } text += "</tr>"; } rows = content.split(";"); for (i = 0; i < rows.length; i++) { if (rows[i].length > 0) { columns = rows[i].split(","); text += "<tr>"; for (j = 0; j < columns.length; j++) { text += "<td" + (number.test(columns[j]) ? " align=\"right\">" : ">") + columns[j] + "</td>"; } text += "</tr>"; } } text += "</table>"; } showText(text); } function showText(text) { list = window.open("", "list", "dependent=yes,location=no,menuba...
    ZIP Archive
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 23.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    The `__tablename__` attribute tells SQLAlchemy the name of the table to use in the database for each of these models.
    
    ### Create model attributes/columns
    
    Now create all the model (class) attributes.
    
    Each of these attributes represents a column in its corresponding database table.
    
    We use `Column` from SQLAlchemy as the default value.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. migrator/index.go

    func (idx Index) Table() string {
    	return idx.TableName
    }
    
    // Name return the name of the index.
    func (idx Index) Name() string {
    	return idx.NameValue
    }
    
    // Columns return the columns of the index
    func (idx Index) Columns() []string {
    	return idx.ColumnList
    }
    
    // PrimaryKey returns the index is primary key or not.
    func (idx Index) PrimaryKey() (isPrimaryKey bool, ok bool) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Apr 11 02:32:46 GMT 2023
    - 1023 bytes
    - Viewed (0)
  10. api/go1.8.txt

    pkg database/sql/driver, type RowsColumnTypeDatabaseTypeName interface { Close, ColumnTypeDatabaseTypeName, Columns, Next }
    pkg database/sql/driver, type RowsColumnTypeDatabaseTypeName interface, Close() error
    pkg database/sql/driver, type RowsColumnTypeDatabaseTypeName interface, Columns() []string
    pkg database/sql/driver, type RowsColumnTypeDatabaseTypeName interface, ColumnTypeDatabaseTypeName(int) string
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Viewed (0)
Back to top