Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for statement (1.74 sec)

  1. association.go

    	association := &Association{DB: db}
    	table := db.Statement.Table
    
    	if err := db.Statement.Parse(db.Statement.Model); err == nil {
    		db.Statement.Table = table
    		association.Relationship = db.Statement.Schema.Relationships.Relations[column]
    
    		if association.Relationship == nil {
    			association.Error = fmt.Errorf("%w: %s", ErrUnsupportedRelation, column)
    		}
    
    		db.Statement.ReflectValue = reflect.ValueOf(db.Statement.Model)
    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