Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for uni (0.01 sec)

  1. schema/naming.go

    	return ns.formatName("idx", table, ns.toDBName(column))
    }
    
    // UniqueName generate unique constraint name
    func (ns NamingStrategy) UniqueName(table, column string) string {
    	return ns.formatName("uni", table, ns.toDBName(column))
    }
    
    func (ns NamingStrategy) formatName(prefix, table, name string) string {
    	formattedName := strings.ReplaceAll(strings.Join([]string{
    		prefix, table, name,
    	}, "_"), ".", "_")
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top