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

Function ExtractIntValue

common/sqlquery/query.go:42–48  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

40}
41
42func ExtractIntValue(s string) (int, error) {
43 intValue, err := strconv.Atoi(s)
44 if err != nil {
45 return 0, err
46 }
47 return intValue, nil
48}
49
50// ParseValue returns a string, int64 or float64 if the parsing succeeds.
51func ParseValue(sqlValue string) (any, error) {

Callers 1

evaluateComparisonMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected