Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tables (0.2 sec)

  1. association.go

    	Unscope      bool
    	Error        error
    }
    
    func (db *DB) Association(column string) *Association {
    	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 {
    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