MCPcopy
hub / github.com/eveningkid/denodb / getMySQLConnection

Function getMySQLConnection

tests/connection.ts:18–28  ·  view source on GitHub ↗
(options = {}, debug = true)

Source from the content-addressed store, hash-verified

16};
17
18const getMySQLConnection = (options = {}, debug = true): Database => {
19 const connection: Database = new Database(
20 { dialect: "mysql", debug },
21 {
22 ...defaultMySQLOptions,
23 ...options,
24 },
25 );
26
27 return connection;
28};
29
30const getSQLiteConnection = (options = {}, debug = true): Database => {
31 const connection: Database = new Database(

Callers 4

update.test.tsFile · 0.90
models.test.tsFile · 0.90
connection.test.tsFile · 0.90
foreignkey.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected