New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fluent-pg

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-pg

PostgreSQL driver to fluent-orm

latest
Source
npmnpm
Version
0.3.6
Version published
Maintainers
1
Created
Source

PostgreSQL driver for FLUENT-ORM

This package contains the postgresql driver to be used on fluent-orm package.

Usage

on the root project

npm install fluent-pg --save

on the fluent configuration file

const { configurator }  = require("fluent-orm");
const pg_driver = require("fluent-pg");
// Register Driver
configurator.use(pg_driver.configure);
// Configure driver connection
configurator.configure({
    'default': 'pgsql',
    'connections': {
        'pgsql': {
            'driver': 'pgsql',
            'host': '127.0.0.1',
            'port': '5432',
            'database': 'postgres',
            'user': 'postgres',
            'password': '1234'
        }
    }
});

Keywords

PostgreSQL

FAQs

Package last updated on 04 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts