Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetRelationsValues (0.12 sec)

  1. association.go

    			}
    		case schema.HasOne, schema.HasMany:
    			var (
    				primaryFields []*schema.Field
    				foreignKeys   []string
    				updateMap     = map[string]interface{}{}
    				relValues     = schema.GetRelationsValues(association.DB.Statement.Context, reflectValue, []*schema.Relationship{rel})
    				modelValue    = reflect.New(rel.FieldSchema.ModelType).Interface()
    				tx            = association.DB.Model(modelValue)
    			)
    
    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