Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@astrocoders/postgres-orm

Package Overview
Dependencies
Maintainers
8
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrocoders/postgres-orm

PostgreSQL ORM

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
14
16.67%
Maintainers
8
Weekly downloads
 
Created
Source

@Astrocoders/postgres-orm ⚡️🔨

Installation

yarn add @astrocoders/postgres-orm postgres or npm install @astrocoders/postgres-orm postgres

Usage

import PostgreSQLORM from '@Astrocoders/postgres-orm'
import * as pg from 'postgres'

export const pool = new pg.Pool(config)
export const connect = () => pool.connect().then(() => console.log('Connection successful'))

const orm = createORM({ entityMapperClass, tableName, debug, client: pool, })

FAQs

Package last updated on 07 Oct 2019

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