MCPcopy Create free account
hub / github.com/CommE2E/comm / getMultipleStatementsConnection

Function getMultipleStatementsConnection

keyserver/src/database/database.js:189–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187}
188
189async function getMultipleStatementsConnection() {
190 const dbConfig = await getDBConfig();
191 const options: ConnectionOptions = {
192 ...dbConfig,
193 multipleStatements: true,
194 };
195 return await mysqlPromise.createConnection(options);
196}
197
198export {
199 endPool,

Callers 1

dbQueryFunction · 0.85

Calls 2

getDBConfigFunction · 0.90
createConnectionMethod · 0.80

Tested by

no test coverage detected