Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for beforeUpdate (0.33 sec)

  1. schema/schema.go

    	"sync"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    )
    
    type callbackType string
    
    const (
    	callbackTypeBeforeCreate callbackType = "BeforeCreate"
    	callbackTypeBeforeUpdate callbackType = "BeforeUpdate"
    	callbackTypeAfterCreate  callbackType = "AfterCreate"
    	callbackTypeAfterUpdate  callbackType = "AfterUpdate"
    	callbackTypeBeforeSave   callbackType = "BeforeSave"
    	callbackTypeAfterSave    callbackType = "AfterSave"
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. pkg/registry/core/service/storage/storage_test.go

    			lastSvc := createdSvc
    
    			// The update phase is optional.
    			if tc.update.svc != nil {
    				// Allow callers to do something between create and update.
    				if tc.beforeUpdate != nil {
    					tc.beforeUpdate(t, storage)
    				}
    
    				// Update the object to the new state and check the results.
    				obj, created, err := storage.Update(ctx, tc.update.svc.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top