Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for singular (0.23 sec)

  1. schema/relationship.go

    		joinFieldName := strings.Title(relation.FieldSchema.Name) + relField.Name
    
    		if _, ok := ownFieldsMap[joinFieldName]; ok {
    			if field.Name != relation.FieldSchema.Name {
    				joinFieldName = inflection.Singular(field.Name) + relField.Name
    			} else {
    				joinFieldName += "Reference"
    			}
    		}
    
    		if len(joinReferences) > idx {
    			joinFieldName = strings.Title(joinReferences[idx])
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top