MCPcopy
hub / github.com/sequelize/sequelize / partialEscape

Function partialEscape

lib/sql-string.js:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56 if (Array.isArray(val)) {
57 const partialEscape = escVal => escape(escVal, timeZone, dialect, format);
58 if (dialect === 'postgres' && !format) {
59 return dataTypes.ARRAY.prototype.stringify(val, { escape: partialEscape });
60 }

Callers

nothing calls this directly

Calls 1

escapeFunction · 0.85

Tested by

no test coverage detected