MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / ToNumber

Method ToNumber

tidbparser/dependency/types/time.go:235–264  ·  view source on GitHub ↗

ToNumber returns a formatted number. e.g, 2012-12-12 -> 20121212 2012-12-12T10:10:10 -> 20121212101010 2012-12-12T10:10:10.123456 -> 20121212101010.123456

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

IsZeroMethod · 0.95
DateFormatMethod · 0.95
LogFunction · 0.92
MicrosecondMethod · 0.80
FromStringMethod · 0.80

Tested by

no test coverage detected