MCPcopy
hub / github.com/sequelize/sequelize / handleShowConstraintsQuery

Method handleShowConstraintsQuery

src/dialects/db2/query.js:341–346  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

339 }
340
341 handleShowConstraintsQuery(data) {
342 // Remove SQL Contraints from constraints list.
343 return _.remove(data, constraint => {
344 return !_.startsWith(constraint.constraintName, 'SQL');
345 });
346 }
347
348 formatError(err, errStack, conn, parameters) {
349 let match;

Callers 1

formatResultsMethod · 0.95

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected