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