Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simstudioai/sim
/ toCsvRow
Function
toCsvRow
apps/sim/app/api/table/[tableId]/export/route.ts:135–137 ·
view source on GitHub ↗
(values: string[])
Source
from the content-addressed store, hash-verified
133
}
134
135
function
toCsvRow(values: string[]): string {
136
return
values.map(escapeCsvField).join(
','
)
137
}
138
139
function
escapeCsvField(field: string): string {
140
if
(/[",\n\r]/.test(field)) {
Callers
1
start
Function · 0.70
Calls
1
join
Method · 0.80
Tested by
no test coverage detected