MCPcopy
hub / github.com/go-gorm/gorm / Parse

Function Parse

schema/schema.go:134–136  ·  view source on GitHub ↗

Parse get data type from dialector

(dest interface{}, cacheStore *sync.Map, namer Namer)

Source from the content-addressed store, hash-verified

132
133// Parse get data type from dialector
134func Parse(dest interface{}, cacheStore *sync.Map, namer Namer) (*Schema, error) {
135 return ParseWithSpecialTableName(dest, cacheStore, namer, "")
136}
137
138// ParseWithSpecialTableName get data type from dialector with extra schema table
139func ParseWithSpecialTableName(dest interface{}, cacheStore *sync.Map, namer Namer, specialTableName string) (*Schema, error) {

Callers 15

ScanFunction · 0.92
BuildConditionMethod · 0.92
ChangedMethod · 0.92
TestExprFunction · 0.92
TestNamedExprFunction · 0.92
TestExpressionFunction · 0.92
checkBuildClausesFunction · 0.92
TestJoinFunction · 0.92
BenchmarkSelectFunction · 0.92
BenchmarkComplexSelectFunction · 0.92

Calls 1

Tested by 15

TestExprFunction · 0.74
TestNamedExprFunction · 0.74
TestExpressionFunction · 0.74
checkBuildClausesFunction · 0.74
TestJoinFunction · 0.74
BenchmarkSelectFunction · 0.74
BenchmarkComplexSelectFunction · 0.74
TestFieldValuerAndSetterFunction · 0.74