MCPcopy
hub / github.com/mathaou/termdbms / GetHeaders

Method GetHeaders

viewer/tableutil.go:102–106  ·  view source on GitHub ↗

GetHeaders does just that for the current schema

()

Source from the content-addressed store, hash-verified

100
101// GetHeaders does just that for the current schema
102func (m *TuiModel) GetHeaders() []string {
103 schema := m.GetSchemaName()
104 d := m.Data()
105 return d.TableHeaders[schema]
106}
107
108func (m *TuiModel) SetViewSlices() {
109 d := m.Data()

Callers 5

NumHeadersMethod · 0.95
GetSelectedColumnNameMethod · 0.95
GetRowDataMethod · 0.95
initFunction · 0.80
initFunction · 0.80

Calls 2

GetSchemaNameMethod · 0.95
DataMethod · 0.95

Tested by

no test coverage detected