Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nmap (0.39 sec)

  1. callbacks/associations.go

    						if !ref.OwnPrimaryKey {
    							pv, _ := ref.PrimaryKey.ValueOf(db.Statement.Context, elem)
    							db.AddError(ref.ForeignKey.Set(db.Statement.Context, obj, pv))
    
    							if dest, ok := db.Statement.Dest.(map[string]interface{}); ok {
    								dest[ref.ForeignKey.DBName] = pv
    								if _, ok := dest[rel.Name]; ok {
    									dest[rel.Name] = elem.Interface()
    								}
    							}
    						}
    					}
    				}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top