Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for RollbackTo (0.18 sec)

  1. finisher_api.go

    			db.Statement.ConnPool = preparedStmtTx
    		}
    	} else {
    		db.AddError(ErrUnsupportedDriver)
    	}
    	return db
    }
    
    func (db *DB) RollbackTo(name string) *DB {
    	if savePointer, ok := db.Dialector.(SavePointerDialectorInterface); ok {
    		// close prepared statement, because RollbackTo not support prepared statement.
    		// e.g. mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html
    		var (
    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)
  2. interfaces.go

    }
    
    // SavePointerDialectorInterface save pointer interface
    type SavePointerDialectorInterface interface {
    	SavePoint(tx *DB, name string) error
    	RollbackTo(tx *DB, name string) error
    }
    
    // TxBeginner tx beginner
    type TxBeginner interface {
    	BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error)
    }
    
    // ConnPoolBeginner conn pool beginner
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:33:31 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. README.md

    * Hooks (Before/After Create/Save/Update/Delete/Find)
    * Eager loading with `Preload`, `Joins`
    * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
    * Context, Prepared Statement Mode, DryRun Mode
    * Batch Insert, FindInBatches, Find To Map
    * SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
    Plain Text
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Nov 07 02:20:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // paused indicates that the deployment is paused.
      // +optional
      optional bool paused = 7;
    
      // DEPRECATED.
      // rollbackTo is the config this deployment is rolling back to. Will be cleared after rollback is done.
      // +optional
      optional RollbackConfig rollbackTo = 8;
    
      // progressDeadlineSeconds is the maximum time in seconds for a deployment to make progress before it
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. tests/transaction_test.go

    	user1 := *GetUser("transaction-save-point-1", Config{})
    	tx.Create(&user1)
    
    	if err := tx.First(&User{}, "name = ?", user1.Name).Error; err != nil {
    		t.Fatalf("Should find saved record")
    	}
    
    	if err := tx.RollbackTo("save_point1").Error; err != nil {
    		t.Fatalf("Failed to save point, got error %v", err)
    	}
    
    	if err := tx.First(&User{}, "name = ?", user1.Name).Error; err == nil {
    		t.Fatalf("Should not find rollbacked record")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // The annotations to be updated to a deployment
      // +optional
      map<string, string> updatedAnnotations = 2;
    
      // The config of this deployment rollback.
      optional RollbackConfig rollbackTo = 3;
    }
    
    // DeploymentSpec is the specification of the desired behavior of the Deployment.
    message DeploymentSpec {
      // Number of desired pods. This is a pointer to distinguish between explicit
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.8.md

    ### Apps
    
    - The `.spec.rollbackTo` field of the Deployment kind is deprecated in `extensions/v1beta1`.
    
    - The `kubernetes.io/created-by` annotation is deprecated and will be removed in version 1.9.
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Tue Feb 20 15:45:02 GMT 2024
    - 312.2K bytes
    - Viewed (1)
Back to top