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

Function stringMap

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

Source from the content-addressed store, hash-verified

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

Callers 1

makeSetKeyInMapQryFunction · 0.70

Calls 1

fFunction · 0.85

Tested by

no test coverage detected