Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for violations (0.19 sec)

  1. errors.go

    	// ErrDuplicatedKey occurs when there is a unique key constraint violation
    	ErrDuplicatedKey = errors.New("duplicated key not allowed")
    	// ErrForeignKeyViolated occurs when there is a foreign key constraint violation
    	ErrForeignKeyViolated = errors.New("violates foreign key constraint")
    	// ErrCheckConstraintViolated occurs when there is a check constraint violation
    	ErrCheckConstraintViolated = errors.New("violates check constraint")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    	}
    
    	switch event.Action {
    	case lifecycle.DeleteAllVersionsAction, lifecycle.DelMarkerDeleteAllVersionsAction:
    		// Skip if bucket has object locking enabled; To prevent the
    		// possibility of violating an object retention on one of the
    		// noncurrent versions of this object.
    		if lr.LockEnabled {
    			return lifecycle.Event{Action: lifecycle.NoneAction}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  3. tests/associations_belongs_to_test.go

    	if err := DB.Create(&user).Error; err == nil {
    		tidbSkip(t, "not support the foreign key feature")
    		t.Errorf("should have gotten foreign key violation error")
    	}
    }
    
    func TestBelongsToAssociationForSlice(t *testing.T) {
    	users := []User{
    		*GetUser("slice-belongs-to-1", Config{Company: true, Manager: true}),
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
Back to top