MCPcopy Index your code
hub / github.com/sequelize/sequelize / partialEscape

Function partialEscape

src/sql-string.js:59–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

escapeFunction · 0.85

Tested by

no test coverage detected