MCPcopy Index your code
hub / github.com/blastrain/vitess-sqlparser / ConvertTo

Method ConvertTo

tidbparser/dependency/types/datum.go:656–695  ·  view source on GitHub ↗

ConvertTo converts a datum to the target field type.

(sc *stmtctx.StatementContext, target *FieldType)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 14

convertToUintMethod · 0.95
convertToIntMethod · 0.95
convertToFloatMethod · 0.95
convertToStringMethod · 0.95
convertToMysqlTimeMethod · 0.95
convertToMysqlDecimalMethod · 0.95
convertToMysqlYearMethod · 0.95
convertToMysqlEnumMethod · 0.95
convertToMysqlBitMethod · 0.95
convertToMysqlSetMethod · 0.95

Tested by

no test coverage detected