(xs, { transform: { column } })
| 211 | } |
| 212 | |
| 213 | function escapeIdentifiers(xs, { transform: { column } }) { |
| 214 | return xs.map(x => escapeIdentifier(column.to ? column.to(x) : x)).join(',') |
| 215 | } |
| 216 | |
| 217 | export const escapeIdentifier = function escape(str) { |
| 218 | return '"' + str.replace(/"/g, '""').replace(/\./g, '"."') + '"' |
no test coverage detected