Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fieldsMap (0.04 sec)

  1. schema/relationship.go

    		if f.Creatable || f.Readable || f.Updatable {
    			// use same data type for foreign keys
    			if copyableDataType(fieldsMap[f.Name].DataType) {
    				f.DataType = fieldsMap[f.Name].DataType
    			}
    			f.GORMDataType = fieldsMap[f.Name].GORMDataType
    			if f.Size == 0 {
    				f.Size = fieldsMap[f.Name].Size
    			}
    			relation.JoinTable.PrimaryFields = append(relation.JoinTable.PrimaryFields, f)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
Back to top