Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for orderedModelNamesMap (0.07 sec)

  1. migrator/migrator.go

    		if addToList {
    			modelNames = append(modelNames, dep.Schema.Table)
    		}
    	}
    
    	insertIntoOrderedList = func(name string) {
    		if _, ok := orderedModelNamesMap[name]; ok {
    			return // avoid loop
    		}
    		orderedModelNamesMap[name] = true
    
    		if autoAdd {
    			dep := valuesMap[name]
    			for _, d := range dep.Depends {
    				if _, ok := valuesMap[d.Table]; ok {
    					insertIntoOrderedList(d.Table)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top