MCPcopy
hub / github.com/mysqljs/mysql / spliceConnection

Function spliceConnection

lib/Pool.js:288–294  ·  view source on GitHub ↗
(array, connection)

Source from the content-addressed store, hash-verified

286};
287
288function spliceConnection(array, connection) {
289 var index;
290 if ((index = array.indexOf(connection)) !== -1) {
291 // Remove connection from all connections
292 array.splice(index, 1);
293 }
294}

Callers 2

Pool.jsFile · 0.85
onOperationCompleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected