Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CreateTable (0.19 sec)

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

                      @Override
                      Table<String, Integer, Character> createTable() {
                        return HashBasedTable.create();
                      }
    
                      @Override
                      public Set<Cell<String, Integer, Character>> create(Object... elements) {
                        Table<String, Integer, Character> table = createTable();
                        for (Object element : elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                      @Override
                      Table<String, Integer, Character> createTable() {
                        return HashBasedTable.create();
                      }
    
                      @Override
                      public Set<Cell<String, Integer, Character>> create(Object... elements) {
                        Table<String, Integer, Character> table = createTable();
                        for (Object element : elements) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

      /**
       * The hashtable object. This can be either:
       *
       * <ul>
       *   <li>a byte[], short[], or int[], with size a power of two, created by
       *       CompactHashing.createTable, whose values are either
       *       <ul>
       *         <li>UNSET, meaning "null pointer"
       *         <li>one plus an index into the entries and elements array
       *       </ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

      /**
       * The hashtable object. This can be either:
       *
       * <ul>
       *   <li>a byte[], short[], or int[], with size a power of two, created by
       *       CompactHashing.createTable, whose values are either
       *       <ul>
       *         <li>UNSET, meaning "null pointer"
       *         <li>one plus an index into the entries and elements array
       *       </ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  5. migrator/migrator.go

    	err = m.DB.Raw("SELECT TABLE_NAME FROM information_schema.tables where TABLE_SCHEMA=?", m.CurrentDatabase()).
    		Scan(&tableList).Error
    	return
    }
    
    // CreateTable create table in database for values
    func (m Migrator) CreateTable(values ...interface{}) error {
    	for _, value := range m.ReorderModels(values, false) {
    		tx := m.DB.Session(&gorm.Session{})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    	for _, m := range allModels {
    		if !DB.Migrator().HasTable(m) {
    			t.Fatalf("Failed to create table for %#v", m)
    		}
    	}
    
    	DB.Scopes(func(db *gorm.DB) *gorm.DB {
    		return db.Table("ccc")
    	}).Migrator().CreateTable(&Company{})
    
    	if !DB.Migrator().HasTable("ccc") {
    		t.Errorf("failed to create table ccc")
    	}
    
    	for _, indexes := range [][2]string{
    		{"user_speaks", "fk_user_speaks_user"},
    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)
Back to top