Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for autoincrement (0.19 sec)

  1. schema/schema.go

    			schema.PrioritizedPrimaryField = schema.PrimaryFields[0]
    		} else if len(schema.PrimaryFields) > 1 {
    			// If there are multiple primary keys, the AUTOINCREMENT field is prioritized
    			for _, field := range schema.PrimaryFields {
    				if field.AutoIncrement {
    					schema.PrioritizedPrimaryField = field
    					break
    				}
    			}
    		}
    	}
    
    	for _, field := range schema.PrimaryFields {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
Back to top