MCPcopy Create free account
hub / github.com/bytebase/bytebase / escapeCSVString

Function escapeCSVString

backend/component/export/csv.go:96–98  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

94}
95
96func escapeCSVString(str string) string {
97 return strings.ReplaceAll(str, `"`, `""`)
98}
99
100func convertValueValueToBytes(value *structpb.Value) []byte {
101 if value == nil || value.Kind == nil {

Callers 1

quoteCSVStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected