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

Method GetCollate

pkg/parser/types/field_type.go:222–224  ·  view source on GitHub ↗

GetCollate returns the collation of the field.

()

Source from the content-addressed store, hash-verified

220
221// GetCollate returns the collation of the field.
222func (ft *FieldType) GetCollate() string {
223 return ft.collate
224}
225
226// GetElems returns the elements of the FieldType.
227func (ft *FieldType) GetElems() []string {

Callers 15

TestDefaultTypeForValueFunction · 0.95
yyParseFunction · 0.95
TestDecodeColumnValueFunction · 0.95
TestFieldTypeHashEqualsFunction · 0.95
convertConstant2DatumFunction · 0.45
partitionRangeForExprMethod · 0.45
pruneUseBinarySearchMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestDefaultTypeForValueFunction · 0.76
TestDecodeColumnValueFunction · 0.76
TestFieldTypeHashEqualsFunction · 0.76
TestDDLStatementsFunction · 0.36
EnterMethod · 0.36