Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for BindName (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. schema/schema.go

    			}
    		}
    	}
    
    	for _, field := range schema.Fields {
    		if field.DBName == "" && field.DataType != "" {
    			field.DBName = namer.ColumnName(schema.Table, field.Name)
    		}
    
    		bindName := field.BindName()
    		if field.DBName != "" {
    			// nonexistence or shortest path or first appear prioritized if has permission
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Oct 31 12:13:56 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. schema/field.go

    	// It causes field unnecessarily migration.
    	// Therefore, we need to record the UniqueIndex on this column (exclude Mul UniqueIndex) for MigrateColumnUnique.
    	UniqueIndex string
    }
    
    func (field *Field) BindName() string {
    	return strings.Join(field.BindNames, ".")
    }
    
    // ParseField parses reflect.StructField to Field
    func (schema *Schema) ParseField(fieldStruct reflect.StructField) *Field {
    	var (
    		err        error
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
Back to Top