MCPcopy
hub / github.com/sequelize/sequelize / afterExecute

Method afterExecute

lib/dialects/sqlite/query.js:234–244  ·  view source on GitHub ↗
(executionError, results)

Source from the content-addressed store, hash-verified

232 const query = this;
233 // cannot use arrow function here because the function is bound to the statement
234 function afterExecute(executionError, results) {
235 try {
236 complete();
237 // `this` is passed from sqlite, we have no control over this.
238 // eslint-disable-next-line no-invalid-this
239 resolve(query._handleQueryResponse(this, columnTypes, executionError, results, errForStack.stack));
240 return;
241 } catch (error) {
242 reject(error);
243 }
244 }
245
246 if (!parameters) parameters = [];
247 conn[method](sql, parameters, afterExecute);

Callers

nothing calls this directly

Calls 1

_handleQueryResponseMethod · 0.80

Tested by

no test coverage detected