MCPcopy Create free account
hub / github.com/sequelize/sequelize / close

Method close

lib/sequelize.js:1211–1213  ·  view source on GitHub ↗

* Close all connections used by this sequelize instance, and free all references so the instance can be garbage collected. * * Normally this is done on process exit, so you only need to call this method if you are creating multiple instances, and want * to garbage collect some of them. *

()

Source from the content-addressed store, hash-verified

1209 * @returns {Promise}
1210 */
1211 close() {
1212 return this.connectionManager.close();
1213 }
1214
1215 normalizeDataType(Type) {
1216 let type = typeof Type === 'function' ? new Type() : Type;

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected