MCPcopy
hub / github.com/uber/aresdb / FetchAllEnums

Method FetchAllEnums

client/schema.go:41–41  ·  view source on GitHub ↗

FetchAllEnums fetches all enums for given table and column

(tableName string, columnName string)

Source from the content-addressed store, hash-verified

39 FetchSchema(table string) (*metaCom.Table, error)
40 // FetchAllEnums fetches all enums for given table and column
41 FetchAllEnums(tableName string, columnName string) ([]string, error)
42 // ExtendEnumCases extends enum cases to given table column
43 ExtendEnumCases(tableName, columnName string, enumCases []string) ([]int, error)
44}

Callers 2

fetchAndSetEnumCasesMethod · 0.65
controller_test.goFile · 0.65

Implementers 3

httpSchemaFetcherclient/schema.go
ControllerHTTPClientcontroller/client/controller.go
ControllerClientcontroller/client/mocks/ControllerClie

Calls

no outgoing calls

Tested by

no test coverage detected