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

Method handleShowConstraintsQuery

lib/dialects/db2/query.js:329–334  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

327 }
328
329 handleShowConstraintsQuery(data) {
330 // Remove SQL Contraints from constraints list.
331 return _.remove(data, constraint => {
332 return !_.startsWith(constraint.constraintName, 'SQL');
333 });
334 }
335
336 formatError(err, conn, parameters) {
337 let match;

Callers 1

formatResultsMethod · 0.95

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected