Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Column (0.27 sec)

  1. association.go

    					}
    				} else {
    					tx.Clauses(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    			_, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, primaryFields)
    			if column, values := schema.ToQueryValues(rel.JoinTable.Table, joinPrimaryKeys, pvs); len(values) > 0 {
    				tx.Where(clause.IN{Column: column, Values: values})
    			} else {
    				return ErrPrimaryKeyRequired
    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