Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. association.go

    						key := reflect.ValueOf(ref.ForeignKey.DBName)
    						if ref.OwnPrimaryKey {
    							v := ref.PrimaryKey.ReflectValueOf(association.DB.Statement.Context, source)
    							mapv.SetMapIndex(key, v)
    						} else if ref.PrimaryValue != "" {
    							mapv.SetMapIndex(key, reflect.ValueOf(ref.PrimaryValue))
    						}
    					}
    					association.Error = association.DB.Session(&Session{
    						NewDB: true,
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:09:12 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top