Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for RollbackTo (0.13 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 (
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:20:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K 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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 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")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 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.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
Back to top