MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / getColType

Method getColType

buffer.go:472–474  ·  view source on GitHub ↗

get ith column data type

(i int)

Source from the content-addressed store, hash-verified

470
471// get ith column data type
472func (b *Buffer) getColType(i int) int {
473 return b.colType[i]
474}
475
476// autoDetectColumnType intelligently detects if a column contains numeric, date, or string data
477// Returns colTypeDate for dates, colTypeFloat for numbers, colTypeStr for strings

Callers 5

TestDetectAllColumnTypesFunction · 0.80
TestBuffer_GetColTypeFunction · 0.80
buildCursorPosStrFunction · 0.80
drawUIFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestDetectAllColumnTypesFunction · 0.64
TestBuffer_GetColTypeFunction · 0.64