Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. association.go

    		switch association.Relationship.Type {
    		case schema.HasOne, schema.BelongsTo:
    			if len(values) > 0 {
    				association.Error = association.Replace(values...)
    			}
    		default:
    			association.saveAssociation( /*clear*/ false, values...)
    		}
    	}
    
    	return association.Error
    }
    
    func (association *Association) Replace(values ...interface{}) error {
    	if association.Error == nil {
    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