Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 264 for Rollback (0.08 seconds)

  1. errors.go

    	"errors"
    
    	"gorm.io/gorm/logger"
    )
    
    var (
    	// ErrRecordNotFound record not found error
    	ErrRecordNotFound = logger.ErrRecordNotFound
    	// ErrInvalidTransaction invalid transaction when you are trying to `Commit` or `Rollback`
    	ErrInvalidTransaction = errors.New("invalid transaction")
    	// ErrNotImplemented not implemented
    	ErrNotImplemented = errors.New("not implemented")
    	// ErrMissingWhereClause missing where clause
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. tests/generics_test.go

    	}
    
    	if err := tx.Rollback().Error; err != nil {
    		t.Fatalf("failed to rollback transaction: %v", err)
    	}
    
    	count2, err := gorm.G[User](DB).Where("name like ?", "TestGenericsTransaction%").Count(ctx, "*")
    	if err != nil {
    		t.Fatalf("Count failed: %v", err)
    	}
    	if count2 != 0 {
    		t.Errorf("expected 0 records after rollback, got %d", count2)
    	}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.2.md

      * Minimum memory limit is 4MB. This is a docker limitation
      * Minimum CPU limits is 10m. This is a Linux Kernel limitation
      * “kubectl rollout undo” (i.e. rollback) will hang on paused deployments, because
    paused deployments can’t be rolled back (this is expected), and the command
    waits for rollback events to return the result. Users should use “kubectl
    rollout resume” to resume a deployment before rolling back.
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Dec 04 06:36:19 GMT 2020
    - 41.4K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Wenn beispielsweise ein Code irgendwann in der Mitte, in einer anderen Abhängigkeit oder in einer *Pfadoperation*, ein „Rollback“ einer Datenbanktransaktion macht oder eine andere Exception verursacht, empfangen Sie die Exception in Ihrer Abhängigkeit.
    
    Sie können also mit `except SomeException` diese bestimmte Exception innerhalb der Abhängigkeit handhaben.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Por ejemplo, si algún código en algún punto intermedio, en otra dependencia o en una *path operation*, realiza un "rollback" en una transacción de base de datos o crea cualquier otro error, recibirás la excepción en tu dependencia.
    
    Por lo tanto, puedes buscar esa excepción específica dentro de la dependencia con `except SomeException`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  6. cmd/update.go

    	if err = selfupdate.CommitBinary(opts); err != nil {
    		if rerr := selfupdate.RollbackError(err); rerr != nil {
    			return AdminError{
    				Code:       AdminUpdateApplyFailure,
    				Message:    fmt.Sprintf("Failed to rollback from bad update: %v", rerr),
    				StatusCode: http.StatusInternalServerError,
    			}
    		}
    		var pathErr *os.PathError
    		if errors.As(err, &pathErr) {
    			return AdminError{
    				Code: AdminUpdateApplyFailure,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    Por exemplo, se algum código em um certo momento no meio, em outra dependência ou em uma *operação de rota*, fizer um "rollback" de uma transação de banco de dados ou causar qualquer outra exceção, você irá capturar a exceção em sua dependência.
    
    Então, você pode procurar por essa exceção específica dentro da dependência com `except AlgumaExcecao`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    For example, if some code at some point in the middle, in another dependency or in a *path operation*, made a database transaction "rollback" or created any other exception, you would receive the exception in your dependency.
    
    So, you can look for that specific exception inside the dependency with `except SomeException`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  9. cmd/erasure-multipart.go

    // doesn't require clients to initiate multiple such requests.
    //
    // All parts are purged from all disks and reference to the uploadID
    // would be removed from the system, rollback is not possible on this
    // operation.
    func (er erasureObjects) AbortMultipartUpload(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (err error) {
    	if !opts.NoAuditLog {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  10. docs/changelogs/changelog_3x.md

    
    ## Version 3.0.1
    
    _2016-01-14_
    
     *  Rollback OSGi support. This was causing library jars to include more classes
        than expected, which interfered with Gradle builds.
    
    
    ## Version 3.0.0
    
    _2016-01-13_
    
    This release commits to a stable 3.0 API. Read the 3.0.0-RC1 changes for advice
    on upgrading from 2.x to 3.x.
    
     *  **The `Callback` interface now takes a `Call`**. This makes it easier to
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
Back to Top