MCPcopy Create free account
hub / github.com/temporalio/temporal / stringMap

Function stringMap

common/persistence/sql/sqlplugin/mysql/execution_maps.go:55–61  ·  view source on GitHub ↗
(a []string, f func(string) string)

Source from the content-addressed store, hash-verified

53)
54
55func stringMap(a []string, f func(string) string) []string {
56 b := make([]string, len(a))
57 for i, v := range a {
58 b[i] = f(v)
59 }
60 return b
61}
62
63func makeDeleteMapQry(tableName string) string {
64 return fmt.Sprintf(deleteMapQryTemplate, tableName)

Callers 1

makeSetKeyInMapQryFunction · 0.70

Calls 1

fFunction · 0.85

Tested by

no test coverage detected