Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. callbacks/preload.go

    			}
    
    			for embedded, embeddedRelations := range s.Relationships.EmbeddedRelations {
    				for _, value := range embeddedValues(embeddedRelations) {
    					setPreloadMap(embedded, value, args)
    				}
    			}
    		} else {
    			setPreloadMap(preloadFields[0], value, args)
    		}
    	}
    	return preloadMap
    }
    
    func embeddedValues(embeddedRelations *schema.Relationships) []string {
    	if embeddedRelations == nil {
    		return nil
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top