Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ipvs (0.15 sec)

  1. callbacks/preload.go

    		if len(foreignValues) == 0 {
    			return nil
    		}
    	}
    
    	// nested preload
    	for p, pvs := range preloads {
    		tx = tx.Preload(p, pvs...)
    	}
    
    	reflectResults := rel.FieldSchema.MakeSlice().Elem()
    	column, values := schema.ToQueryValues(clause.CurrentTable, relForeignKeys, foreignValues)
    
    	if len(values) != 0 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. association.go

    					tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    			if _, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, primaryFields); len(pvs) > 0 {
    				column, values := schema.ToQueryValues(rel.FieldSchema.Table, foreignKeys, pvs)
    				if association.Unscope {
    					association.Error = tx.Where(clause.IN{Column: column, Values: values}).Delete(modelValue).Error
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
Back to top