Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 385 for Columns (0.13 sec)

  1. 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)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. 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
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. tests/update_test.go

    	}
    
    	if err := DB.Model(&results[1]).Clauses(clause.Returning{Columns: []clause.Column{{Name: "age"}}}).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil {
    		t.Errorf("Not error should happen when updating with gorm expr, but got %v", err)
    	}
    
    	if results[1].Age-results[0].Age != 100 {
    		t.Errorf("failed to return updated age column")
    	}
    }
    
    func TestUpdateWithDiffSchema(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                var daysInLastMonth = moment([lastYear, lastMonth]).daysInMonth();
                var dayOfWeek = firstDay.day();
    
                //initialize a 6 rows x 7 columns array for the calendar
                var calendar = [];
                calendar.firstDay = firstDay;
                calendar.lastDay = lastDay;
    
                for (var i = 0; i < 6; i++) {
                    calendar[i] = [];
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.11.md

    * gitRepo volumes in pods no longer require git 1.8.5 or newer; older git versions are now supported. ([#62394](https://github.com/kubernetes/kubernetes/pull/62394), [@jsafrane](https://github.com/jsafrane))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.9.md

    *   [alpha] Container Storage Interface
        *   New CSIVolumeSource enables Kubernetes to use external CSI drivers to provision, attach, and mount volumes.
    *   [alpha] Raw block volumes
        *   Support for surfacing volumes as raw block devices added to Kubernetes storage system.
        *   Only Fibre Channel volume plugin supports exposes this functionality, in this release.
    *   [alpha] Volume resizing
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Nov 16 10:46:27 UTC 2021
    - 313.7K bytes
    - Viewed (0)
  8. src/main/webapp/css/bootstrap.min.css

    d-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-b...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Dec 25 08:05:52 UTC 2019
    - 155.8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.14.md

    - Now users can get object info like:
    
      ```bash
        a. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0:3].name
        b. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[-2:].name
      ```
    
    ([#73063](https://github.com/kubernetes/kubernetes/pull/73063), [@WanLinghao](https://github.com/WanLinghao))
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (0)
  10. src/main/webapp/css/admin/adminlte.min.css.map

    .card:not(:first-child) .card-footer {\n    border-bottom-left-radius: 0;\n  }\n}\n\n.card-columns .card {\n  margin-bottom: 0.75rem;\n}\n\n@media (min-width: 576px) {\n  .card-columns {\n    -webkit-column-count: 3;\n    -moz-column-count: 3;\n    column-count: 3;\n    -webkit-column-gap: 1.25rem;\n    -moz-column-gap: 1.25rem;\n    column-gap: 1.25rem;\n    orphans: 1;\n    widows: 1;\n  }\n  .card-columns .card {\n    display: inline-block;\n    width: 100%;\n  }\n}\n\n.accordion {\n  overflow-anchor:...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 3.7M bytes
    - Viewed (1)
Back to top