Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 32 of 32 for Join (0.14 sec)

  1. schema/relationship.go

    	relation.Type = Many2Many
    
    	var (
    		err             error
    		joinTableFields []reflect.StructField
    		fieldsMap       = map[string]*Field{}
    		ownFieldsMap    = map[string]*Field{} // fix self join many2many
    		referFieldsMap  = map[string]*Field{}
    		joinForeignKeys = toColumns(field.TagSettings["JOINFOREIGNKEY"])
    		joinReferences  = toColumns(field.TagSettings["JOINREFERENCES"])
    	)
    
    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)
  2. schema/field.go

    	// 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
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
Back to top