How to use the default function from pg

Find comprehensive JavaScript pg.default code examples handpicked from public code repositorys.

45
46
47
48
49
50
51
52
53
54
const team_route_1 = __importDefault(require("./endpoints/team.route"));
const rank_route_1 = __importDefault(require("./endpoints/rank.route"));
const score_route_1 = __importDefault(require("./endpoints/score.route"));
const leaderboard_route_1 = __importDefault(require("./endpoints/leaderboard.route"));
const pgSession = (0, connect_pg_simple_1.default)(express_session_1.default);
const pgPool = new pg_1.default.Pool({
    database: sequelize_1.DB_NAME,
    host: sequelize_1.HOST,
    user: sequelize_1.USERNAME,
    password: sequelize_1.PASSWORD,
fork icon0
star icon0
watch icon1