Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assignBacks (0.09 sec)

  1. association.go

    		}
    	}
    
    	for _, assignBack := range assignBacks {
    		fieldValue := reflect.Indirect(association.Relationship.Field.ReflectValueOf(association.DB.Statement.Context, assignBack.Source))
    		if assignBack.Index > 0 {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue.Index(assignBack.Index - 1))
    		} else {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue)
    		}
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top