Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JOINREFERENCES (0.09 sec)

  1. schema/relationship.go

    		ownFieldsMap    = map[string]*Field{} // fix self join many2many
    		referFieldsMap  = map[string]*Field{}
    		joinForeignKeys = toColumns(field.TagSettings["JOINFOREIGNKEY"])
    		joinReferences  = toColumns(field.TagSettings["JOINREFERENCES"])
    	)
    
    	ownForeignFields := schema.PrimaryFields
    	refForeignFields := relation.FieldSchema.PrimaryFields
    
    	if len(relation.foreignKeys) > 0 {
    		ownForeignFields = []*Field{}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top