Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ConvertToAssignments (0.1 sec)

  1. callbacks/update.go

    				if i, ok := value.(AfterSaveInterface); ok {
    					called = true
    					db.AddError(i.AfterSave(tx))
    				}
    			}
    
    			return called
    		})
    	}
    }
    
    // ConvertToAssignments convert to update assignments
    func ConvertToAssignments(stmt *gorm.Statement) (set clause.Set) {
    	var (
    		selectColumns, restricted = stmt.SelectAndOmitColumns(false, true)
    		assignValue               func(field *schema.Field, value interface{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top