Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for schemaTable (0.15 sec)

  1. schema/schema.go

    		}
    		return nil, fmt.Errorf("%w: %s.%s", ErrUnsupportedDataType, modelType.PkgPath(), modelType.Name())
    	}
    
    	// Cache the Schema for performance,
    	// Use the modelType or modelType + schemaTable (if it present) as cache key.
    	var schemaCacheKey interface{}
    	if specialTableName != "" {
    		schemaCacheKey = fmt.Sprintf("%p-%s", modelType, specialTableName)
    	} else {
    		schemaCacheKey = modelType
    	}
    
    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