Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Balint (0.24 sec)

  1. migrator/migrator.go

    	case *schema.CheckConstraint:
    		return nil, c, table
    	default:
    		return nil, nil, table
    	}
    }
    
    // GuessConstraintInterfaceAndTable guess statement's constraint and it's table based on name
    // nolint:cyclop
    func (m Migrator) GuessConstraintInterfaceAndTable(stmt *gorm.Statement, name string) (_ schema.ConstraintInterface, table string) {
    	if stmt.Schema == nil {
    		return nil, stmt.Table
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  2. callbacks/preload.go

    	}
    	return names
    }
    
    // preloadEntryPoint enters layer by layer. It will call real preload if it finds the right entry point.
    // If the current relationship is embedded or joined, current query will be ignored.
    //
    //nolint:cyclop
    func preloadEntryPoint(db *gorm.DB, joins []string, relationships *schema.Relationships, preloads map[string][]interface{}, associationsConds []interface{}) error {
    	preloadMap := parsePreloadMap(db.Statement.Schema, preloads)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top