Answers for "type orm database connection"

0

type orm database connection

import {createConnection, Connection} from "typeorm";

const connection: Connection = await createConnection({
    type: "mysql",
    host: "localhost",
    port: 3306,
    username: "test",
    password: "test",
    database: "test",
    entities: ["entity/*.js"]
});
Posted by: Guest on May-15-2021

Browse Popular Code Answers by Language