MCPcopy
hub / github.com/sequelize/sequelize / attachMSSQLUniqueId

Function attachMSSQLUniqueId

test/integration/pool.test.js:62–68  ·  view source on GitHub ↗
(connection)

Source from the content-addressed store, hash-verified

60}
61
62function attachMSSQLUniqueId(connection) {
63 if (dialect === 'mssql') {
64 connection.dummyId = Math.random();
65 }
66
67 return connection;
68}
69
70describe(Support.getTestDialectTeaser('Pooling'), () => {
71 if (dialect === 'sqlite' || process.env.DIALECT === 'postgres-native') return;

Callers 2

simulateUnexpectedErrorFunction · 0.85
pool.test.jsFile · 0.85

Calls 1

randomMethod · 0.80

Tested by

no test coverage detected