MCPcopy
hub / github.com/pingcap/tidb / Cols

Method Cols

pkg/table/table.go:404–404  ·  view source on GitHub ↗

Cols returns the columns of the table which is used in select, including hidden columns.

()

Source from the content-addressed store, hash-verified

402type columnAPI interface {
403 // Cols returns the columns of the table which is used in select, including hidden columns.
404 Cols() []*Column
405
406 // VisibleCols returns the columns of the table which is used in select, excluding hidden columns.
407 VisibleCols() []*Column

Callers 15

hypoIndexCheckerFunction · 0.65
buildDataSourceMethod · 0.65
buildProjUponViewMethod · 0.65
buildUpdateListsMethod · 0.65
prepareBenchCtxFunction · 0.65
prepareTestCtxFunction · 0.65
buildCheckIndexSchemaMethod · 0.65
buildInsertMethod · 0.65
resolveOnDuplicateMethod · 0.65
getInsertColExprMethod · 0.65
buildLoadDataMethod · 0.65

Implementers 4

TableCommonpkg/table/tables/tables.go
infoschemaTablepkg/infoschema/tables.go
VirtualTablepkg/infoschema/tables.go
perfSchemaTablepkg/infoschema/perfschema/tables.go

Calls

no outgoing calls

Tested by 15

prepareBenchCtxFunction · 0.52
prepareTestCtxFunction · 0.52
TestBasicFunction · 0.52
TestUnsignedPKFunction · 0.52
TestIterRecordsFunction · 0.52
TestAddRecordWithCtxFunction · 0.52
TestCreateTableFunction · 0.52
TestColumnAddFunction · 0.52