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

Method handleShowConstraintsQuery

src/dialects/oracle/query.js:513–522  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

511 }
512
513 handleShowConstraintsQuery(data) {
514 // Convert snake_case keys to camelCase as its generated by stored procedure
515 return data.rows.map(result => {
516 const constraint = {};
517 for (const key in result) {
518 constraint[_.camelCase(key)] = result[key].toLowerCase();
519 }
520 return constraint;
521 });
522 }
523
524 handleShowTablesQuery(results) {
525 return results.map(resultSet => {

Callers 1

formatResultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected