Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for RelationshipFKName (0.09 seconds)

  1. schema/relationship.go

    	// it only needs to be done once outside, so optimization is done here.
    	if idx != -1 && regEnLetterAndMidline.MatchString(str[0:idx]) {
    		name = str[0:idx]
    	} else {
    		name = rel.Schema.namer.RelationshipFKName(*rel)
    	}
    
    	constraint := Constraint{
    		Name:     name,
    		Field:    rel.Field,
    		OnUpdate: settings["ONUPDATE"],
    		OnDelete: settings["ONDELETE"],
    	}
    
    	for _, ref := range rel.References {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 16 04:11:05 GMT 2025
    - 23.1K bytes
    - Click Count (1)
Back to Top